| 10-01-2009, 05:13 PM | #1 |
The normal level skip is 2, and unless we change it (like for Ultimates, 5), it should all be like that. But its not. Some spells can actually be chosen 2x in a row. Anyone know why? |
| 10-01-2009, 06:03 PM | #2 |
Because they have a calculation for skipping, I don't know it for sure, but its something like that: JASS:If (Learned Skill is skipped) == false then if (SkippedSpells) == 0 then call DisableSpell(LearnedSpell) set LearnedSkillIsSkipped = true endif else call EnableSpell(Learned Skill) set LearnedSkillIsSkipped = false endif |
| 10-01-2009, 06:20 PM | #3 |
Level required to learn should be 1. Level skip requirement should be 0. Level skip actually means the amount of levels that need to be gained to unlock the next tier of the skill. So if learning level = 1 and level skip = 1, then the skill can be learned at levels 1, 2, 3, ... Setting level skip to 0 uses the map default, which is usually 2. So 1, 3, 5, ... Level required to learn is just that; setting it to 0 means the skill can be learned at levels 0, 2, 4, 6, ... Even though it's not possible to be level 0, the game still treats the ability as if it could have been learned at level 0. You can actually make use of this behavior for an ability that's supposed to be upgradeable a lot early on, but not much later on. That is, setting level required to -15 and level skip requirement to 5 means that the skill can be learned at levels -15, -10, -5, 0, 5, 10, 15, ... which is, in reality, 1, 2, 3, 4, 5, 10, 15, ... |
| 10-01-2009, 06:22 PM | #4 |
the poster above me is right. |
| 10-02-2009, 08:00 AM | #5 |
Alright thanks for the in-depth answers, but actually my question is this: I have 2 abilities, both have the same numbers for minimum and level skip requirements, but while one of them behaves properly (the Hero can learn it every other level), the other one simply ignores this and allows me to level it up 2x in a row. I suppose I could check every little variable to see what is wrong with it, but in fact I don't even remember at this point which abilities those are based on (I have countless abilities and this "anomaly" appears in several of them). Thanks for the replies. |
| 10-02-2009, 01:33 PM | #6 |
What are your "Techtree - Check Dependency" values for those abilities? |
| 10-02-2009, 05:40 PM | #7 |
I blanked most of them and if there is something there I untick the "Check" box. One of this occurance that baffles me is the Engineering Upgrade ability. I have 3 abilities (for different units ofcourse) based on this, and 2 of them aren't "Ultimate"s. For some reason one of them simply choose to ignore my order to skip a level. So a level 2 unit can learn a level 2 skill. The other two abilities doesn't do this LOL. I feel like World Editor is trolling me. |
| 10-02-2009, 07:13 PM | #8 |
Uh, not the dependency *list.* He means the True/False field "Check Dependencies." The box needs to be "checked" for the game to check the hero's level before letting him learn it. Blank the dependency list if you have to. |
| 10-02-2009, 07:19 PM | #9 | |
Quote:
|
| 10-02-2009, 07:29 PM | #10 | |
Quote:
|
| 10-02-2009, 07:32 PM | #11 |
I guess if heroes could actually be level 0, it wouldn't be, but the fact that 0 is permissible as a required level doesn't actually make sense. |
| 10-02-2009, 07:53 PM | #12 |
Values below 1 just mean "no requirement." I don't see this as a bug, necessarily, since it seems like Blizzard intended this behavior. Unlike the "return bug," which was clearly a real design oversight. (Well, actually, being unable to associate handles to each other was a bigger design oversight, but whatever). |
| 10-02-2009, 07:59 PM | #13 |
Okay, so it isn't a bug, whatever. The original poster's problem likely originates from having a "Required Level: 0" and a 2-level skip, resulting in being able to learn it twice in 2 levels. |
| 10-03-2009, 01:03 PM | #14 |
AHA! I see I see. Very good Rising Dusk I think that might be it. LOL this is a very funny "bug" if you could call it that. Thanks guys I could always count on you to provide interesting answers and discussions about WC3. |
