Chaos_Knight
New Member
- Reaction score
- 39
It's a simple spell, he's learning it. So guys, don't discourage him.
Thanks. Anyone that can say something positive to this? Please. :thup:
It's a simple spell, he's learning it. So guys, don't discourage him.
Thanks. Anyone that can say something positive to this? Please. :thup:
unit is attacked is easy to bug
BJs are bad is not any kind of general rule.
Its just that most BJs do completely useless stuff that you dont really wana do, or are just wrappers for some natives, when all they do is add extra function call.
TriggerRegisterAnyUnitEventBJ is cool, because its shorter to type than some loop thingy. Alternatively I suggest you to use Anitarfs SpellEvent system. vJass exists to make system creation easy, so take advantage of it and use and make systems for doing stuff.
The system needed for this would be an attack detection system. ( In other words: a damage detection system with different damage types + spells that actually use those functions. )
Spells are more about the idea, tricks and the artwork anyways. Damage, healing, buff, projectile -systems exist to do the real job. Spell code is just to call some functions from those systems.
So what do you think about this spell?
I don't test it in game... but i assume.. the screenshot is REALLY bad :x
BlackRose just explain it
If the if is dependent on a constant global.
constant boolean SHOW_ANIMATION = true
static if SHOW_ANIMATION then
call DestroyEffect( AddSpecialEffect.....
endif