I want to modify the mod so that people can check their invis level. Since this involves changing the engine files (which I haven't been brave enough to do), I thought I'd check with you that what I'm doing is ok.
All I've done is added the following:
Code:
else if(CommandCheck(arg1,"invis"))
{
new invislvl = W3GetBuffMinFloat(client,fInvisibilitySkill);
War3_ChatMessage(client,"%T","Your invis percentage is: {amount}",client,invislvl);
}
{
new invislvl = W3GetBuffMinFloat(client,fInvisibilitySkill);
War3_ChatMessage(client,"%T","Your invis percentage is: {amount}",client,invislvl);
}
To the file engine_commandhook, just after the else if for the maxhp command (line 207).
Do you think that will do the job?
Edit: when compiling I get a tag mismatch error :S




Logged


DarkEnergy