How would code it so that if a mob has an armor such as suit of flame, that it shoots something like a fireball randomly as long as its equipped? Or like a shield that drains your health? thanks in advance
ID:170241
Mar 1 2005, 7:30 am
|
|
Mar 1 2005, 8:03 am
|
|
Give those individual items procedures that do that. Like, flame shield:
|
In response to Crashed
|
|
Thanx crashed
|
Reinhartstar wrote:
How would code it so that if a mob has an armor such as suit of flame, that it shoots something like a fireball randomly as long as its equipped? Or like a shield that drains your health? thanks in advance The best way to do this is something general: obj/item Then you'd want some code like this to periodically call equipment procs: mob/Login() Lummox JR |