|
Um okay, here is something EXTREMELY simple, add a bool and name it something like invincible or godly ( just anything you like ) then add it to the character class, after that @ Attack calculations class (<- don't remember what was it called, sorry =x ) i guess there is an "if" checker that checks if you're dead or alive; just add && Character.Invincible ( or whatever you named this bool ), then make a command ( i guess in chat class? ) and add something like this:
if (Msg[0] == "@Invincible")
{
Character.Invincible = true;
}
PS. Make sure that the bool is set to false if you're using the same sentence and command.
|