Now I want to make an enemy "Burn" the player for a limited time,so the player loses 1 HP really fast for 3 seconds.. So how to do that?
EDIT:Sorry for double post
int i;
i=rand(3) + 7;
Player.LifeVar-=i;
int i;
i=rand(10);
if(i<7){
i=7;
}
Player.LifeVar-=i;
if(def > i){
i=1;
}
Player.Level==ExpHaven/50+(Level*Level);//ExpHaven=Total XP
jonathang wrote:Thanks Zoli
The player couldn't lvl up for some reason. This is the script I used.
Player=>Draw Actor=>Script
- Code: Select all
Player.Level==ExpHaven/50+(Level*Level);//ExpHaven=Total XP
P.S We start from level 0. (I've made us start from level 1 but it still doesn't work)
Why couldn't the player level up?
Users browsing this forum: No registered users and 1 guest