• 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!

Drops ALL eq when killed by monster/player, everytime! without RS.

fro

New Member
Joined
Nov 11, 2010
Messages
123
Reaction score
1
I cant understand why?
So thankfull for help. I was wondering why ALL new players constantly quits.. Haha :/
!bless without aol will make you drop for example 1 thing when you die, so it works like normal, forever aol works, you dont drop anything, aol works, you dont drop anything. but when you are without, you drop it all!


The Forgotten Server 0.4_DEV

CONFIG.lua:

-- Blessings
-- NOTE: blessingReduction* regards items/containers loss.
-- eachBlessReduction is how much each bless reduces the experience/magic/skills loss.
blessings = true
blessingOnlyPremium = true
blessingReductionBase = 30
blessingReductionDecrement = 5
eachBlessReduction = 8


deathLostPercent = 10


promotion vocations is on lessloss 30


Creature scripts:
<event type="death" name="ArenaDeath" event="script" value="arenadeath.lua"/>
<event type="death" name="demonOakDeath" event="script" value="demonOakDeath.lua"/>
<event type="death" name="Forever Aol" event="script" value="forever aol.lua"/>
<event type="death" name="PythiusTheRotten" event="script" value="PythiusTheRotten.lua"/>

Foreveraollua:
function onDeath(cid, corpse, deathlist)
if getCreatureSkullType(cid) <= 2 and getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2196 then
doCreatureSetDropLoot(cid, false)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
doCreatureSay(cid, "Forever Aol!! NO LOOT FOR YOU!", TALKTYPE_ORANGE_1)
end
return true
end


REP++++++
Thanks again.
 
Last edited:
LUA:
function onPrepareDeath(cid, deathList)
	for _, type in pairs({PLAYERLOSS_CONTAINERS, PLAYERLOSS_ITEMS}) do
		doPlayerSetLossPercent(cid, type, 100)
	end
	return true
end
 
- - - Updated - - -

LUA:
function onPrepareDeath(cid, deathList)
	for _, type in pairs({PLAYERLOSS_CONTAINERS, PLAYERLOSS_ITEMS}) do
		doPlayerSetLossPercent(cid, type, 100)
	end
	return true
end

Explain a little further please

- - - Updated - - -

- - - Updated - - -



Explain a little further please

Anyone? Please.

- - - Updated - - -

Bump
 
Back
Top