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

Bless Script 100%

God Mythera

Veteran OT User
Joined
Aug 11, 2012
Messages
2,051
Solutions
2
Reaction score
260
Location
United States
Hello and i need bless script that is 100% so you dont lose any items or levels, i tried another 1 but went to level 1...im using TFS 0.4

here is my talkaction script
Code:
--|-------------------|--
--|Script by Ninkobi--|--
--|Modified by Xavizus|--
--|-------------------|--

function onSay(cid, words, param)
--Config--
local cost = 25000
--End of Config--
for b = 1,5 do
if getPlayerBlessing(cid, b) then
doPlayerSendCancel(cid,'You have already got one or more blessings!')
else
if doPlayerRemoveMoney(cid, cost) == TRUE then
for i = 1,5 do
doPlayerAddBlessing(cid, i)
end
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_HOLYDAMAGE)
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have been blessed by the gods!')
else
doPlayerSendCancel(cid, "You need "..cost.." gold coins to get blessed!")
end
end 
return true
end
end
 
Hello and i need bless script that is 100% so you dont lose any items or levels, i tried another 1 but went to level 1...im using TFS 0.4

here is my talkaction script
Code:
--|-------------------|--
--|Script by Ninkobi--|--
--|Modified by Xavizus|--
--|-------------------|--

function onSay(cid, words, param)
--Config--
local cost = 25000
--End of Config--
for b = 1,5 do
if getPlayerBlessing(cid, b) then
doPlayerSendCancel(cid,'You have already got one or more blessings!')
else
if doPlayerRemoveMoney(cid, cost) == TRUE then
for i = 1,5 do
doPlayerAddBlessing(cid, i)
end
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_HOLYDAMAGE)
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You have been blessed by the gods!')
else
doPlayerSendCancel(cid, "You need "..cost.." gold coins to get blessed!")
end
end
return true
end
end
The only thing this script does is give you the blessings.
You can change how blessings modify the experience loss in config.lua
Code:
  -- Blessings
   blessings = true
   blessingOnlyPremium = false
   blessingReductionBase = 30
   blessingReductionDecrement = 5
   eachBlessReduction = 8
   pvpBlessingThreshold = 40
   fairFightTimeRange = 60
 
The only thing this script does is give you the blessings.
You can change how blessings modify the experience loss in config.lua
Code:
  -- Blessings
   blessings = true
   blessingOnlyPremium = false
   blessingReductionBase = 30
   blessingReductionDecrement = 5
   eachBlessReduction = 8
   pvpBlessingThreshold = 40
   fairFightTimeRange = 60
will this work if my server is 0.4 tfs? it wont fuck up my server?
 
lol mate, clearly you don't understand the configuration of tfs, the bless script in talkactions gives your character blessings, in config.lua you edit blessings config to suit your server.
 
The only thing this script does is give you the blessings.
You can change how blessings modify the experience loss in config.lua
Code:
  -- Blessings
   blessings = true
   blessingOnlyPremium = false
   blessingReductionBase = 30
   blessingReductionDecrement = 5
   eachBlessReduction = 8
   pvpBlessingThreshold = 40
   fairFightTimeRange = 60
its pretty much same as mine

Code:
blessings = true
    blessingOnlyPremium = false
    blessingReductionBase = 30
    blessingReductionDecreament = 5
    eachBlessReduction = 8
 
Back
Top