Quantcast
Channel: OTLand
Viewing all articles
Browse latest Browse all 32017

Bug Summon drop loot and xp

$
0
0
Can anyone tell me why my "utevo res" is dropping loot and xp?

Lua:
function onCastSpell(creature, variant)
    if creature:getSkull() == SKULL_BLACK then
        creature:sendCancelMessage(RETURNVALUE_NOTPOSSIBLE)
        return false
    end

    local monsterName = variant:getString()
    local monsterType = MonsterType(monsterName)

    if not monsterType then
        creature:sendCancelMessage(RETURNVALUE_NOTPOSSIBLE)
        creature:getPosition():sendMagicEffect(CONST_ME_POFF)...
Bug Summon drop loot and xp

Viewing all articles
Browse latest Browse all 32017

Trending Articles