MKLIUKANG1
Active member
Bloodbane said:Here's a simple script for that:
Code:anim jump @script if(frame==0){ void self = getlocalvar("self"); changeentityproperty(self, "defense", openborconstant("ATK_NORMAL2"), 0, 200, 0); } @end_script ...
This script sets the immunity on JUMP animation
To reset the immunity, you need to set this script in JUMPLAND
Code:anim jumpland @script if(frame==0){ void self = getlocalvar("self"); changeentityproperty(self, "defense", openborconstant("ATK_NORMAL2"), 1, 0, 1); } @end_script ...
and RISE animation
Code:anim rise @script if(frame==1){ void self = getlocalvar("self"); changeentityproperty(self, "defense", openborconstant("ATK_NORMAL2"), 1, 0, 1); } @end_script ...
Checked. Everything works perfectly!