Restriction in magic.inc!
Posted: Wed Sep 03, 2003 10:51 pm
How can I put in my magic.inc 1 restriction.
If a player move 15 titles he lost his concetration and miss the spell.
My wrong code:
If a player move 15 titles he lost his concetration and miss the spell.
My wrong code:
var X, Y;
var number;
number := 15;
x := caster.x;
y := caster.y;
if( GetEquipmentByLayer( caster, 25 ))
if( !x > number or !y > number)
return 0;
else
endif
else
endif