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

Solved

Zarn

New Member
Joined
Oct 19, 2009
Messages
108
Reaction score
0
Finished, Thanks for all help, :thumbup:

Special thanks to djivar :wub:
 
Last edited:
monsters.xml
PHP:
	<monster name="Apocalypse" file="Demon bosses/apocalypse.xml"/>

Apocalypse.xml
Lua:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Apocalypse" nameDescription="Apocalypse" race="fire" experience="35000" speed="380" manacost="0">
  <health now="80000" max="80000"/>
  <look type="12" head="38" body="114" legs="0" feet="94" corpse="6068"/>
  <targetchange interval="5000" chance="20"/>
  <strategy attack="65" defense="5"/>
  <flags>
    <flag summonable="0"/>
    <flag attackable="1"/>
    <flag hostile="1"/>
    <flag illusionable="0"/>
    <flag convinceable="0"/>
    <flag pushable="0"/>
    <flag canpushitems="1"/>
    <flag canpushcreatures="1"/>
    <flag targetdistance="1"/>
    <flag staticattack="90"/>
    <flag runonhealth="0"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" skill="230" attack="210"/>
    <attack name="death" interval="1000" chance="8" radius="9" target="0" min="-800" max="-1900">
      <attribute key="areaEffect" value="mortarea"/>
    </attack>
    <attack name="speed" interval="1000" chance="12" radius="6" target="0" speedchange="-850" duration="60000">
      <attribute key="areaEffect" value="poison"/>
    </attack>
    <attack name="strength" interval="1000" chance="10" radius="5" target="0" min="-600" max="-1450">
      <attribute key="areaEffect" value="blackspark"/>
    </attack>
    <attack name="fire" interval="3000" chance="13" range="7" radius="7" target="1" min="-300" max="-800">
      <attribute key="shootEffect" value="fire"/>
      <attribute key="areaEffect" value="firearea"/>
    </attack>
    <attack name="manadrain" interval="3000" chance="8" radius="10" target="0" min="-600" max="-700">
      <attribute key="areaEffect" value="energyarea"/>
    </attack>
    <attack name="energy" interval="2000" chance="9" length="8" spread="0" min="-400" max="-800">
      <attribute key="areaEffect" value="redshimmer"/>
    </attack>
    <attack name="poisoncondition" interval="5000" chance="18" length="0" spread="0" min="-800" max="-1000">
      <attribute key="areaEffect" value="greenspark"/>
    </attack>
    <attack name="lifedrain" interval="2000" chance="6" radius="14" target="0" min="-600" max="-1200">
      <attribute key="areaEffect" value="greenshimmer"/>
    </attack>
  </attacks>
  <defenses armor="188" defense="145">
    <defense name="healing" interval="1000" chance="15" min="1000" max="3000">
      <attribute key="areaEffect" value="blueshimmer"/>
    </defense>
    <defense name="speed" interval="2000" chance="8" speedchange="480" duration="6000">
      <attribute key="areaEffect" value="redshimmer"/>
    </defense>
  </defenses>
  <immunities>
    <immunity physical="0"/>
    <immunity energy="1"/>
    <immunity fire="1"/>
    <immunity poison="1"/>
    <immunity lifedrain="1"/>
    <immunity paralyze="1"/>
    <immunity outfit="1"/>
    <immunity drunk="1"/>
    <immunity invisible="1"/>
  </immunities>
  <voices interval="5000" chance="10">
    <voice sentence="BOW TO THE POWER OF THE RUTHLESS SEVEN!" yell="1"/>
    <voice sentence="DESTRUCTION!" yell="1"/>
    <voice sentence="CHAOS!" yell="1"/>
    <voice sentence="DEATH TO ALL!" yell="1"/>
  </voices>
  <loot capacity="5000">
    <item id="2142" countmax="1" chance="3500"/>
    <item id="2231" countmax="1" chance="9000"/>
    <item id="2144" countmax="15" chance="15000"/>
    <item id="2158" countmax="1" chance="1500"/>
    <item id="2195" countmax="1" chance="4000"/>
    <item id="2192" countmax="1" chance="2500"/>
    <item id="2125" countmax="1" chance="1500"/>
    <item id="2124" countmax="1" chance="5500"/>
    <item id="2520" countmax="1" chance="15500"/>
    <item id="2462" countmax="1" chance="11000"/>
    <item id="2387" countmax="1" chance="20000"/>
    <item id="2434" countmax="1" chance="4500"/>
    <item id="2167" countmax="1" chance="13500"/>
    <item id="2432" countmax="1" chance="17000"/>
    <item id="2393" countmax="1" chance="12500"/>
    <item id="2148" countmax="100" chance="99900"/>
    <item id="2148" countmax="100" chance="88800"/>
    <item id="2148" countmax="100" chance="77700"/>
    <item id="2148" countmax="100" chance="66600"/>
    <item id="2179" countmax="1" chance="8000"/>
    <item id="2470" countmax="1" chance="5000"/>
    <item id="2033" countmax="1" chance="7500"/>
    <item id="2418" countmax="1" chance="4500"/>
    <item id="2155" countmax="1" chance="1500"/>
    <item id="2396" countmax="1" chance="7500"/>
    <item id="2177" countmax="1" chance="1000"/>
    <item id="2162" countmax="1" chance="11500"/>
    <item id="2472" countmax="1" chance="3000"/>
    <item id="2514" countmax="1" chance="7500"/>
    <item id="2164" countmax="1" chance="5000"/>
    <item id="2178" countmax="1" chance="4000"/>
    <item id="2186" countmax="1" chance="3500"/>
    <item id="2176" countmax="1" chance="12000"/>
    <item id="2171" countmax="1" chance="4500"/>
    <item id="2200" countmax="1" chance="4500"/>
    <item id="1982" countmax="1" chance="2600"/>
    <item id="2214" countmax="1" chance="13000"/>
    <item id="2123" countmax="1" chance="3500"/>
    <item id="2170" countmax="1" chance="13000"/>
    <item id="2402" countmax="1" chance="15500"/>
    <item id="2436" countmax="1" chance="5000"/>
    <item id="2150" countmax="20" chance="13500"/>
    <item id="2145" countmax="5" chance="9500"/>
    <item id="2149" countmax="10" chance="15500"/>
    <item id="2146" countmax="10" chance="13500"/>
    <item id="2182" countmax="1" chance="3500"/>
    <item id="2165" countmax="1" chance="9500"/>
    <item id="2197" countmax="1" chance="4000"/>
    <item id="2174" countmax="1" chance="2500"/>
    <item id="2151" countmax="7" chance="14000"/>
    <item id="2112" countmax="1" chance="14500"/>
    <item id="2421" countmax="1" chance="13500"/>
    <item id="2377" countmax="1" chance="20000"/>
    <item id="2185" countmax="1" chance="3500"/>
    <item id="3955" countmax="1" chance="100"/>
    <item id="2188" countmax="1" chance="2500"/>
    <item id="2143" countmax="15" chance="12500"/>
  </loot>
</monster>
 
One more question my King that i say promote to he answer me abut when i say yes to promotion he dont do anithing

Can some one help me? :)

And sorry but i dont wanna spam thrhets all ower support ^^
 
Code:
function onSay(cid, words, param, channel)
	local shop = {
		["aol"] = {
			id = 2173, count = 1, cost = 10000
		},
		["backpack"] = {
			id = 1988, count = 1, cost = 100
		}
	}
	local v = shop[param]
	return getPlayerMoney(cid) > v.cost and doPlayerRemoveMoney(cid, v.cost) and doPlayerAddItem(cid, v.id, v.count) and doCreatureSay(cid, getItemInfo(v.id).name .. " added to inventory!", TALKTYPE_ORANGE_1) or doPlayerSendCancel(cid, "Sorry, but you do not have enough money.")
end
oh JDB, and what about local 'v'?
 
Promotion.lua
Lua:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)

function onCreatureAppear(cid)			npcHandler:onCreatureAppear(cid)			end
function onCreatureDisappear(cid)		npcHandler:onCreatureDisappear(cid)			end
function onCreatureSay(cid, type, msg)		npcHandler:onCreatureSay(cid, type, msg)		end
function onThink()				npcHandler:onThink()					end

local node1 = keywordHandler:addKeyword({'promot'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can promote you for 20000 gold coins. Do you want me to promote you?'})
	node1:addChildKeyword({'yes'}, StdModule.promotePlayer, {npcHandler = npcHandler, cost = 20000, level = 20, promotion = 1, text = 'Congratulations! You are now promoted.'})
	node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then, come back when you are ready.', reset = true})
--[[
local node2 = keywordHandler:addKeyword({'second'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can henzen you for 500000 gold coins. Do you want me to epicize you?'})
	node2:addChildKeyword({'yes'}, StdModule.promotePlayer, {npcHandler = npcHandler, cost = 500000, level = 150, promotion = 2, text = 'Congratulations! You are now henzen vocation.'})
	node2:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then, come back when you are ready.', reset = true})
]]--

npcHandler:addModule(FocusModule:new())
 
Hey agen, i will rep u but right now i cant i need to rep other peapol to befgore i can rep u but i will rep u when i can i try like 2-3 times aday,

now to my question, i did do a new wand aftera turial that i used before but it dident work so god this time,

Its say 100 Mystic Wands its should be 1 ^_^

and viper starts end how i fix this ? in config its says that its not should ending so its werd,^

I will rwp for help,, :thumbup:
 
Back
Top