Hello, I have been stuffing around with the spellbook before I use it in my ORPG. Now I have made the spellbook a unit ability, added four spells (Which work correctly no crash there) but when I made my 5th ability and added it to the spellbook it crashed warcraft 3. I am pretty sure now that it is the ability, the name to be more precise. What I have is this:
Text - Tooltip - Normal: |cff1FBF00Iron Gaurd|r
Text - Tooltip - Extended: |cff1FBF00Ability Type: |rPassive|n|cff1FBF00Target:|r Self|n|cff1FBF00Effect: |rArmor Increase|n|cff1FBF00Cooldown: |cff949596<No Cooldown>|n|n|rThe knight has been trained in such a way to use his shield more often, increasing his armor by a small ammount.|n|n|cff1FBF00Level 1: |r10+ Armor|n(|cff1FBF00Increment: |r+10 Armor bonus)
Which comes out as:
Iron Gaurd
Ability Type: Passive
Target: Self
Effect: Armor Increase
Cooldown: <No Cooldown>
The knight has been trained in such a way to use his shield more often, increasing his armor by a small ammount.
Level 1: 10+ Armor
(Increment: +5 Armor bonus)
So pretty much I used color codes.
Now when I run the map and get to level 20, which is when the trigger activates (See *) it levels the spell book up, I have done this trigger for level 5, level 10, level 15 and they all work, It is just level 20. It may also be that I made a level 80 creep so I instantly level to 20 but still I am guessing it would be the ability name which crashes warcraft 3.
When it crashes it doesn't come up with that same old error with the red orc, it just crashes with no error. I have tried changing the ability, so it reduces spell damage, spell immune, armor bonus but when I just made the 5th ability to Heal with no changes just the original priest spell Heal, it worked. I am stumped by this I have tried everything.
Please help me.
Here is the trigger:
*
Text - Tooltip - Normal: |cff1FBF00Iron Gaurd|r
Text - Tooltip - Extended: |cff1FBF00Ability Type: |rPassive|n|cff1FBF00Target:|r Self|n|cff1FBF00Effect: |rArmor Increase|n|cff1FBF00Cooldown: |cff949596<No Cooldown>|n|n|rThe knight has been trained in such a way to use his shield more often, increasing his armor by a small ammount.|n|n|cff1FBF00Level 1: |r10+ Armor|n(|cff1FBF00Increment: |r+10 Armor bonus)
Which comes out as:
Iron Gaurd
Ability Type: Passive
Target: Self
Effect: Armor Increase
Cooldown: <No Cooldown>
The knight has been trained in such a way to use his shield more often, increasing his armor by a small ammount.
Level 1: 10+ Armor
(Increment: +5 Armor bonus)
So pretty much I used color codes.
Now when I run the map and get to level 20, which is when the trigger activates (See *) it levels the spell book up, I have done this trigger for level 5, level 10, level 15 and they all work, It is just level 20. It may also be that I made a level 80 creep so I instantly level to 20 but still I am guessing it would be the ability name which crashes warcraft 3.
When it crashes it doesn't come up with that same old error with the red orc, it just crashes with no error. I have tried changing the ability, so it reduces spell damage, spell immune, armor bonus but when I just made the 5th ability to Heal with no changes just the original priest spell Heal, it worked. I am stumped by this I have tried everything.
Please help me.
Here is the trigger:
*
Trigger:
- Level 20
- Events
- Unit - A unit Gains a level
- Conditions
- (Unit-type of (Leveling Hero)) Equal to Knight
- (Hero level of (Leveling Hero)) Greater than or equal to 20
- Actions
- Unit - Increase level of Knight Abilities for (Leveling Hero)
- Events