Quote:
|
Originally Posted by Sdw
Code:
shift_sp 1
func_call 116 // func[Castle_IsUnderSiege]
push_reg_sp
fetch_i
branch_false L86000000
shift_sp 1
push_event // myself
push_const 28
add
fetch_i // master
push_const 2404
add
fetch_i
push_const 707
func_call 44 // func[ShowSystemMessage]
shift_sp -2
shift_sp -1
It's pretty simple, but in case that someone need an example.
|
I don't think we can use Castle_IsUnderSiege - because this check NPC's castle. Must use Castle_IsUnderSiege2 with number of castle.