Code:
class warrior_flee : warrior
handler 0 // NO_DESIRE
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
shift_sp 1
push_const 40
push_const 20
func_call 0 // func[AddMoveAroundDesire]
shift_sp -2
shift_sp -1
handler_end
handler 1 // ATTACKED
variable_begin
"attacker"
"damage"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
shift_sp 1
push_event // attacker
push_const 36
add
fetch_i
push_const 30
func_call 6 // func[AddFleeDesire]
shift_sp -2
shift_sp -1
handler_end
class_end
Code:
class warrior : default_npc
parameter_define_begin
float Attack_DecayRatio 6.600000
float UseSkill_DecayRatio 660xx.xx0000
float Attack_BoostValue 3xx.xx0000
float UseSkill_BoostValue 1000xx.xx0000
int MoveAroundSocial 0
int ShoutMsg1 0
int ShoutMsg2 0
int ShoutMsg3 0
int ShoutMsg4 0
parameter_define_end .....
do u see DDmagic on elpy ai ? NOT ! how do u supose to work ?