• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Where is displayed npc hit effect

henkas

Well-Known Member
Joined
Jul 8, 2015
Messages
1,051
Solutions
5
Reaction score
62
Hello got annoying stuff when you hit an npc even tho you cant deal damage to them it disaplays a two effects on them, so i would like to delete those two effects which i taught they are here, but after commenting them out it still was displaying them CONST_ME_POFF and CONST_ME_BLOCKHIT would like to remove them from NPCS completetly because its just waste of sending effect
LUA:
    static const auto sendBlockEffect = [this](BlockType_t blockType, CombatType_t combatType, const Position& targetPos) {
        if (blockType == BLOCK_DEFENSE) {
            addMagicEffect(targetPos, CONST_ME_POFF);
        } else if (blockType == BLOCK_ARMOR) {
            addMagicEffect(targetPos, CONST_ME_BLOCKHIT);
 
Back
Top