[Release] Echo of Hero

**** you is all i got for the lame comment, timer does work... the darkened part sorta hard for me to see... long time to disappear and it moves really slow o_o since i couldn't use the .x, i changed it to matk and watk and added to stat boost ._.
The skill lasts for 30 or 45 minutes. I can't remember. Click on the link that he gave you in the first post...
 
PHP:
	else if(skillid == 1005){ // Echo of Hero - Beginner
		int amt = skills[skillid][level].x;
		vals.push_back(amt);
		vals.push_back(amt);
       	for (unsigned int x=0; x<Maps::info[player->getMap()].Players.size(); x++) {
			SkillsPacket::useSkill(Maps::info[player->getMap()].Players[x], Maps::info[player->getMap()].Players, skillid, skills[skillid][level].time*1000, 0, 0, 0, 0, 0, 0, (char)0x01, 0, vals, 1);
			timer->setSkillTimer(Maps::info[player->getMap()].Players[x], "end1005", skills[skillid][level].time*1000);
		}
    }
0x05 in type1 is for static increases to watk/matk, this buff is a percentage. EoF errors were caused by not pushing two values. I'm pretty sure this is it. (Yes, you have to change the end1005() function to match)
 
0x05 in type1 is for static increases to watk/matk, this buff is a percentage. EoF errors were caused by not pushing two values. I'm pretty sure this is it. (Yes, you have to change the end1005() function to match)

Testing your fix, will tell you if it works. :)
 
PHP:
    else if(skillid == 1005){ // Echo of Hero - Beginner
        int amt = skills[skillid][level].x;
        vals.push_back(amt);
        vals.push_back(amt);
           for (unsigned int x=0; x<Maps::info[player->getMap()].Players.size(); x++) {
            SkillsPacket::useSkill(Maps::info[player->getMap()].Players[x], Maps::info[player->getMap()].Players, skillid, skills[skillid][level].time*1000, 0, 0, 0, 0, 0, 0, (char)0x01, 0, vals, 1);
            timer->setSkillTimer(Maps::info[player->getMap()].Players[x], "end1005", skills[skillid][level].time*1000);
        }
    }
0x05 in type1 is for static increases to watk/matk, this buff is a percentage. EoF errors were caused by not pushing two values. I'm pretty sure this is it. (Yes, you have to change the end1005() function to match)

Takes the x argument as the basis for the %.
 
You know people who leech actually come out better than the people who learned how to do this stuff..
Leeching is a learning experience also.. :eek6:

Not saying I leech.. I don't use this stuff. (My Opinion: Shoot it down at your will..)
 
Back