Robert Lee
Villager
- Xy$
- 0.00
Hi all.
I have a feature that I would like to implement and I am not sure if it can be done without having to resort to writing a JavaScript Plugin. The feature is as follows.
I have a fire based spell called FLASH which does 1HP of damage. With only 1HP of damage it is unlikely to kill anything! but what I would like is for certain wild animals who are afraid of fire to say have an 80% chance of simply running away. That would make it a handy spell to have around as it is very cheap to cast.
I understand how to make things vulnerable to fire, but this simply increases the damage they receive; it doesn't trigger other behaviour: such as running away.
Has anybody implemented anything similar to this and solved it without recourse of a special plugin.
Thanks in advance for any help and suggestions.
Bob
I have a feature that I would like to implement and I am not sure if it can be done without having to resort to writing a JavaScript Plugin. The feature is as follows.
I have a fire based spell called FLASH which does 1HP of damage. With only 1HP of damage it is unlikely to kill anything! but what I would like is for certain wild animals who are afraid of fire to say have an 80% chance of simply running away. That would make it a handy spell to have around as it is very cheap to cast.
I understand how to make things vulnerable to fire, but this simply increases the damage they receive; it doesn't trigger other behaviour: such as running away.
Has anybody implemented anything similar to this and solved it without recourse of a special plugin.
Thanks in advance for any help and suggestions.
Bob