Concentration

Status
Not open for further replies.
Newbie Spellweaver
Joined
Apr 7, 2008
Messages
72
Reaction score
0
Enjoy.

Skills.ccp:

Code:
else if(strcmp(name, "end3121008") == 0) Skills::end3121008(player); // Concentration

Code:
else if(skillid == 3121008){ // Concentration
        timer->stop(player, "end3121008");
        end3121008(player);
    }

Code:
else if(skillid == 3121008){ // Concentration
		vals.push_back(skills[skillid][level].watk);
		timer->stop(player, "end3121008");
		SkillsPacket::useSkill(player, Maps::info[player->getMap()].Players , skillid, skills[skillid][level].time*1000, (char)0x1, 0, 0, 0, 0, 0, 0, 0, vals, 1);
		timer->setSkillTimer(player, "end3121008",  skills[skillid][level].time*1000);
	}

Code:
void Skills::end3121008(Player* player){ // Concentration
    SkillsPacket::endSkill(player, Maps::info[player->getMap()].Players, (char)0x1, 0, 0, 0, 0, 0, 0, 0, 1);
}

Skills.h:

Code:
static void end3121008(Player* player); // Concentration

Your Welcome ;)
 
Last edited:
Re: [Release] Concentration

hmm its working but when somone is on the map and u use it, u d.c them with " reach end of file" Ill try and fix, but if anyone can try to help also that would be good.
 
Re: {WORKING 100%}[Release] Concentration

NVM GUYS! I was able to fix it. IF YOU USED MY OLD SCRIPT, UPDATE WITH THE NEW ONES, THIS NOW WORKS 100%~
 
Re: {WORKING 100%}[Release] Concentration

I can compile it perfectly without errors but when i am in the game i press the skill nothing shows up at the top right hand corner
 
Re: {WORKING 100%}[Release] Concentration

It doesn't seem to be reducing MP usage, which it's also supposed to do. :/
 
Re: {WORKING 100%}[Release] Concentration

You didn't add it correctly and quoting urselfseem pretty stupid?
 
Status
Not open for further replies.
Back