Spellbook makes Warcraft 3 Crash

Warraven

New Member
Reaction score
1
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:
*
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)
 

Crusher

You can change this now in User CP.
Reaction score
121
Try to change your 5'th spell into something else. The spell it'self could be a problem.

Edit: Sry'z.

Well, perhaps the spell isn't leveled up or you need a special trigger to level up the spell, or maybe warcraft crashes when you try to level up several abilities with all different levels?
 

Warraven

New Member
Reaction score
1
I may have not mention this but it's the spellbook which has levels, Level 1 has First spell, Level 2 has First and second spell, ect...
And I just level up the spell book with Triggers.

Edit: It is the spells text like I said, I renamed it to 123 with out color codes and it worked. Anyone know why this is?
 

Warraven

New Member
Reaction score
1
(Sorry for double post)
I fixed it.
It is working, what I did was change the color codes so it is slightly darker, so you have other spells in normal green and this one in a only slightly darker green. I think it didn't like the constant use of one color.
- Close this topic.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top