Quote:
Originally Posted by LiquidCoGaming
To the people that can't make it work...
Do this:
Under DropAnItem , write:
Code:
if (MyMath.ChanceSuccess(100))
{
Char.CPs += 2000;
return;
}
Press "Thanks" If I Helped! :)
|
Using
MyMath.ChanceSuccess(100) is useless, and a waste of computing power, since it will always return true... You can completely eradicate that whole if statement, and just leave the
Char.CPs += 2000; and
return;
Quote:
Originally Posted by maroelprince
I made everything right but i have a problem when i kill monsters they don't give me the CPs but i get items like CPpacks and the item that gives +6blacksteed please help me in this please
|
Check your item usage handler. Obviously, the case for the ItemID of the CP Pack is incorrectly coded.