status_charge(ss,0,8);//costs additional 8 SP if miss
}
else
{//should end when out of sp.
sg->limit = DIFF_TICK(tick,sg->tick);
I added that code's, it work's but, it doesn't let me to kick, it knock's back the player, could there be a code for no knocking back with warmth damage?
Question
vijay30393
As the topic say's, Star gladiator's warmth not damaging players, i my self requesting for the code's which damage's the player's.
Thank you!
//If target isn't knocked back it should hit every "interval" ms [Playtester]
do
{
- if( bl->type == BL_PC )
- status_zap(bl, 0, 15); // sp damage to players
- else // mobs
if( status_charge(ss, 0, 2) ) // costs 2 SP per hit
{
if( !skill_attack(BF_WEAPON,ss,&src->bl,bl,sg->skill_id,sg->skill_lv,tick+count*sg->interval,0) )
status_charge(ss, 0, 8); //costs additional 8 SP if miss
}
else
{ //should end when out of sp.
sg->limit = DIFF_TICK(tick,sg->tick);
I added that code's, it work's but, it doesn't let me to kick, it knock's back the player, could there be a code for no knocking back with warmth damage?
I'v found the solution http://eathena.ws/forum/topic/695-star-gladiator-warmth-not-damaging-players/
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.