• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Two questions

Status
Not open for further replies.
Level 11
Joined
Jun 20, 2009
Messages
880
So i have two questions concerning my map:

1. I tried to make auto-casting Inferno spell, so i used Fairie Fire as dummy spell. But why doesnt it cast it? And that unit belongs to neutral hostiles.



2. I want to add abilities to spellbook. When i pick a tome, which should add a spell, the game crashes. The spell is called "Demonic Blade".

  • Demonic Blade
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Tome of Demonic Blade
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Demonic Blade for (Triggering unit)) Equal to 0
        • Then - Actions
          • Unit - Add Demonic Blade BOOK to (Triggering unit)
        • Else - Actions
          • Unit - Set level of Demonic Blade for (Triggering unit) to ((Level of Demonic Blade for (Triggering unit)) + 1)

:grin: Thx for help! :grin:
 
Status
Not open for further replies.
Top