In the debugger window, the npc counter occurs that when an immortal npc is killed with its property alive=0 it is not discounted, but this does update when a normal npc dies, weird isn't it?
2)
I can use the itrcreate to iterate all the effects but I can't even set a new speed to them.
Code: Select all
v(a)=itrcreate(6,0,char(1).x-64,char(1).y-64,128+char(1).pwidth,128+char(1).pheight)
do
v(b)=itrnext(v(a))
if v(b)=0 then exit do
effect(v(b)).ysp=-8
loop
call berase(0,v(a))






