Can someone explain this code to me?
This is the code inside client.java, it's for specials. I want to be able to add specials that aren't already in. I understand part of it but theres still some things I don't get:
Code:
if (playerEquipment[playerWeapon] == 7158) //dragon 2h
{
xtraDamage = true;
getWeaponSpecialInformation(7158, 3157, 100, 559);
}
RED = Weapon ID
LIME = Obvious..
MAGENTA = (what is this?)
BLUE = (what is this?)
ORANGE = (what is this?)
Someone please explain which is the anim, which is the gfx, and what the other thing is..
Thanks (h)