]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove the "corrupted" skin from the Mage as the effect of it is very unclear, fixes...
authorMario <mario.mario@y7mail.com>
Sat, 12 Nov 2022 03:58:35 +0000 (13:58 +1000)
committerMario <mario.mario@y7mail.com>
Sat, 12 Nov 2022 03:58:35 +0000 (13:58 +1000)
qcsrc/common/monsters/monster/mage.qc

index 8cfa77e6535aa7dfe70925d12a58cb02b9bb4537..21fb8792d06dddee4d084a88119409862189a4cf 100644 (file)
@@ -108,7 +108,6 @@ bool M_Mage_Defend_Heal_Check(entity this, entity targ)
                                        );
                }
                case 2: return (GetResource(targ, RES_ARMOR) < autocvar_g_balance_armor_regenstable);
-               case 3: return (GetResource(targ, RES_HEALTH) > 0);
        }
 
        return false;
@@ -254,11 +253,6 @@ void M_Mage_Defend_Heal(entity this)
                                                fx = EFFECT_ARMOR_REPAIR;
                                        }
                                        break;
-                               case 3:
-                                       float hp = ((it == this) ? autocvar_g_monster_mage_heal_self : autocvar_g_monster_mage_heal_allies);
-                                       TakeResource(it, RES_HEALTH, hp); // TODO: use regular damage functions? needs a way to bypass friendly fire checks
-                                       fx = EFFECT_RAGE;
-                                       break;
                        }
 
                        Send_Effect(fx, it.origin, '0 0 0', 1);