• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Giving free help/Lua Script requests to:

owned

Excellent OT User
Joined
Nov 9, 2008
Messages
2,001
Solutions
3
Reaction score
563
Location
New York
New people in Otland or people who havent even made an account yet, to encourage more people to make accounts and interact with the community!

not trying to do big quest scripts/npc scripts.
 
i want script ( xspell with x% double chance hit )
critical system script ? that give effect with weapons , wands , rods , spells ?

explaining of these numbers and difference between setAttackFormula and setCombatFormula

setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 1.4, 2.8, 40, 70)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1, 0, -1, -10, 5, 5, 1.2, 2, -20, -40)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1, -2, -20, -40)

sorry if i was so greedy :S
 
How do i make my portals, flash names above them? like "Quests!" "Shops!" etc.?


Add this to Data/Globalevents/Effectile.xml
Code:
local config = {
positions = {
    ["Words Here"] = { x = 1023, y = 1034, z = 7 }, --- Pos of where you want the word to say!
},

effects = {
CONDITION_PARAM_DELAYED
}
}

function onThink(cid, interval, lastExecution)
    for text, pos in pairs(config.positions) do
	doSendMagicEffect(pos, math.random(37,37)) 
        doSendAnimatedText(pos, text, math.random(133, 134))
    end
    return TRUE
end

Add this to Data/Globalevents/Globalevents.xml
Code:
<globalevent name="effecttile" interval="3" script="effectile.lua"/>
 
Back
Top