Table of Contents

Cold Spirit Mob - Code References

Java Classes

public class ColdSpirit extends Mob {
    public ColdSpirit(){
        hp(ht(50));
        baseSpeed = 1.3f;
        baseDefenseSkill = 16;
        baseAttackSkill  = 22;
        flying = true;
        expForKill = 8;
        maxLvl = 20;
        dmgMin = 12;
        dmgMax = 15;
        dr = 22;
        loot(Gold.class, 0.02f);
    }
 
    @Override
    public int attackProc(@NotNull Char enemy, int damage ) {
        if (Random.Int( 4 ) == 1) {
            Freezing.affect( enemy.getPos());
        }
        return damage;
    }
}

Stats from Code

Abilities

JSON Configuration

This entity is implemented in Java, no JSON configuration found.

String Resources

<string name="ColdSpirit_Name">cold spirit</string>
<string name="ColdSpirit_Gender">masculine</string>
<string name="ColdSpirit_Name_Objective">cold spirit</string>
<string name="ColdSpirit_Desc">The cold spirit is the embodiment of frost, in it's purest form. Being a mindless clot of magical energy, he obeys the will of the mage who called him or instead acts accordingly to basic instincts.</string>

Lua Scripts

This entity is implemented in Java, no Lua script exists.

Localization Files