• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

spell bug

Status
Not open for further replies.
Level 4
Joined
Dec 4, 2014
Messages
97
Hi guys its me again i need some help :D I kopied from a spellpack a gui spell and created all variables but now when i use it in the game the normal spell works but while doing the spell i imported he is doing a amination of another spell i dont know how to fix it pls help me :/
 
Level 15
Joined
Oct 29, 2012
Messages
1,474
You have to compare the old spell with the new copied spell. I mean the spell map triggers and your map triggers. Because there is a bug in World Editor. It is: when you copy a spell triggers from to map some values are edited.

Go to your trigger editor, and search for spell start trigger (when the event is Unit - A unit starts the effect of an ability . or something like this). When you find this trigger to to Conditions you find like this
  • Conditions
    • (Ability being cast) Equal to 'Not your spell'.
Then double click it and change it to the name of your spell , it becomes like this :
  • Conditions
    • (Ability being cast) Equal to 'Your spell now'.
I guess this is your meaning.
 
Level 4
Joined
Dec 4, 2014
Messages
97
i did that

but it still doesnt work :D

well i mean that is cast the spell that i coustomed and a other spell that he shouldend use at the same time :/
 
Last edited by a moderator:
Level 33
Joined
Mar 27, 2008
Messages
8,035
Maybe the imported spells and your spell uses same Ability ID, for example, the imported uses Shockwave as base spell, and your spell also, uses Shockwave.
This would cause an overlapping of ability (only 1 spell will be used).

Solution is you have to change your spell into other base ability, or simply, use Channel, an ability that can morph its Ability ID into anything else (unlike other default spells), their Ability ID cannot be changed (even though you changed it in the Object Editor, it does not comply).

Well, this is just a wild guess on the problem.
 
Status
Not open for further replies.
Top