[Creepy/AS3] Godmode Command!

Posts 1–8 of 8 · Page 1 of 1
[Creepy/AS3] Godmode Command!
Usage:
/god

ez as fuck to code and add so here it is

Code:
    class GodCommand : Command
    {
        public GodCommand() : base("god", permLevel: 1) { }

        protected override bool Process(Player player, RealmTime time, string args)
        {
            if (player.HasConditionEffect(ConditionEffects.Invulnerable))
            {
                player.ApplyConditionEffect(new ConditionEffect()
                {
                    Effect = ConditionEffectIndex.Invulnerable,
                    DurationMS = 0,
                });
            	player.SendInfo("Godmode Deactivated");
                return false;
            }
            else
            {
                player.ApplyConditionEffect(new ConditionEffect()
                {
                    Effect = ConditionEffectIndex.Invulnerable,
                    DurationMS = -1
                });
                player.SendInfo("Godmode Activated");
            }
            return true;
        }
    }
Just put this in wserver>realm>commands>admincommands.cs at the bottom
Invulnerable needs to be Invincible.
Quote Originally Posted by sacredmike View Post
Invulnerable needs to be Invincible.
but then you don't see a sign of being in godmode

- - - Updated - - -

Quote Originally Posted by sebastianfra12 View Post
./addeff 23 is better :3
too long to write
Quote Originally Posted by Kierze View Post
but then you don't see a sign of being in godmode

- - - Updated - - -



too long to write
Invulnerable isnt 'godmode', you can still take effects from projectiles and you still get hit by projectiles, it just doesnt do damage. Invincible is better/'godmode'.
Quote Originally Posted by BlackRayquaza View Post
Invulnerable isnt 'godmode', you can still take effects from projectiles and you still get hit by projectiles, it just doesnt do damage. Invincible is better/'godmode'.
wait wait so you just said...
invunlnerable isn't godmode it just makes it so you can't take damage... Are you sure you are ok?
Quote Originally Posted by Kierze View Post
wait wait so you just said...
invunlnerable isn't godmode it just makes it so you can't take damage... Are you sure you are ok?
He means buffs. You still get the negative buffs such as blind.

Invincible completely removes that
Quote Originally Posted by Ahl View Post
He means buffs. You still get the negative buffs such as blind.

Invincible completely removes that
ohhh debuffs if you wanna get no debuffs change it to invincible guys
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us