- Joined
- Apr 22, 2008
- Messages
- 40
- Reaction score
- 0
This is my first release so I might have done something wrong.
Anyways tell me if you have any troubles.
First, download the XML file:
And place it in your skills folder.
Yes, it will replace the other one.
THIS DOES ATTACK THE UNDEAD.
(Tested on Krytical's Repack v9.2)
Now near other similar codes, put:
And there you go.
You don't need any of that other "end" coding because this isn't a buff.
Here's the "party" code.
This will cause all users (?) in the map to get healed.
Anyways tell me if you have any troubles.
First, download the XML file:
To view the content, you need to sign in or register
To view the content, you need to sign in or register
And place it in your skills folder.
Yes, it will replace the other one.
THIS DOES ATTACK THE UNDEAD.
(Tested on Krytical's Repack v9.2)
Now near other similar codes, put:
Code:
else if(skillid == 2301002){ // Heal
float healrate = Skills::skills[2301002][player->skills->getSkillLevel(2301002)].x;
int healhp = player->getMHP()*(healrate/100);
player->setHP(player->getHP() + healhp);
}
You don't need any of that other "end" coding because this isn't a buff.
Here's the "party" code.
This will cause all users (?) in the map to get healed.
Code:
else if(skillid == 2301002){ // Heal
float healrate = Skills::skills[2301002][player->skills->getSkillLevel(2301002)].x;
int healhp = player->getMHP()*(healrate/100);
for (unsigned int i=0; i<Maps::info[player->getMap()].Players.size(); i++){
Player *curplayer = Maps::info[player->getMap()].Players[i];
curplayer->setHP(curplayer->getHP() + healhp);
}
}
Last edited:

