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

Requests [Block attack Gem / Manarune heal per vocation / temple GEM / Freze Shard]

Luciano

Member
Joined
Feb 18, 2010
Messages
998
Reaction score
24
hello. I NEED do a big update on my server (new items etcs)
So i got some ideas and need help of us :)
I will rep+++ OF COURSE!
Lets start:
1 - Block Attack Gem - block ALL damage taken during 10 secs. You use it (if possible, when use, apear efect 48 and say Imune!) (also if possible when end 10 secs (duration) only apear again efect 48) and during 10 secs you dont take any kind of damage.
if possible put a exaust of 60 seconds.


2 - ManaRune Heal per vocation
Need be like this:
Sorcerers heal 16k
Druid heal 15k
Knight heal 11k
Paladin heal 10k mana and 10k health
can be neither in actions or spells. [prefer actions]

3 - one gem, that have ONLY 1 charge (simple end script doremoveitem :p) and that after use it u go to pos 1000 1000 7. To use it you need no have batle/pk etcs. You cant use it in pz (so dont use in pos 1000 1000 7 (idk if would crash server) - exaust 60 sec

4 - one shard, that u use it on some player, and he get muted + not move for 5 secs. and every 1 sec apear efect 43. exaustion : 60 secs. [Now only if possible: make that, if example: PLAYER called Luciano use freeze on Pedro, so luciano cant use freze for 60 secs, but make that pedro cant be frozen also in those 60 secs, so another player dont come and boom freze him too ~only if possible and no make much work for us, scripters ;p] // 10 charges please

for now, only,
Thanks,

Luciano~~

TFS 0.3.6
----
nº 2 & 4 done. Thanks to Damadger
 
Last edited:
Mana per vocation :


LUA:
-- you want not  to add health just keep min and max = 0 

local vocation = { 
                                   [{1,5}] = {manamin = 1,manamax = 1, healthmin = 0 , healthmax= 0},   -- [vocation,promotedvocation] = {mini = minimum heal, maxi = maximum heal}
                                   [{2,6}] = {manamin = 1,manamax = 1, healthmin = 0 , healthmax= 0},
				   [{3,7}] = {manamin = 1,manamax = 1, healthmin = 40, healthmax= 50},  
				   [{4,8}] = {manamin = 1,manamax = 1, healthmin = 20 , healthmax= 40}
				   }

function onUse (cid, item, frompos, topos)
   for k,v in pairs(vocation) do
               if isInArray(k,getPlayerVocation(cid)) then
                          doCreatureSay(cid,"Vocation Rune!",19)
                          doCreatureAddMana(cid,math.random(v.manamin,v.manamax))
	                  doCreatureAddHealth(cid,math.random(v.healthmin,v.healthmax))
	                  doSendMagicEffect(getThingPos(cid),12)
               end
  end
return true
end

Code:
<action itemid="XXX" event="script" value="XXXX.lua"/>

Teleport gem

LUA:
local c = {
               pos = {x=1028,y=1018,z=7},
               cooldwon = 60,   --in seconds
			   storage = 1918
			}
function onUse (cid, item, frompos, topos)
  if exhaustion.get(cid, c.storage) then
                  doPlayerSendCancel(cid,"Cool down : "..os.date("%M : %S",exhaustion.get(cid, c.storage)).."")
  elseif hasCondition(cid,CONDITION_INFIGHT) == true then
                  doPlayerSendCancel(cid,"You cant use it during battle.")
  else 
                  doTeleportThing(cid,c.pos) 
                  doSendMagicEffect(c.pos,10)
                  exhaustion.set(cid, c.storage, c.cooldwon)
                  doRemoveItem(item.uid)
  end
  return true
end

action.xml : copy the line up and change the id, and file name :)
 
Last edited:
oh, and sorry, i forgot to say - idk if i can do it but ... since i dont know anything of script - can u put it to say "Vocation Rune!"
 
3 - one gem, that have ONLY 1 charge (simple end script doremoveitem ) and that after use it u go to pos 1000 1000 7. To use it you need no have batle/pk etcs. You cant use it in pz (so dont use in pos 1000 1000 7 (idk if would crash server)

You said nothng about that btw..

Updated script.
 
Last edited:
Back
Top