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

Scripter The Flaming Orchid, Dawnfire Asura and Midnight Asura

XaviRd

New Member
Joined
Nov 22, 2015
Messages
15
Reaction score
3
100% made by me. I got it by looking youtube, tibiawiki.br and tibiawiki.com:

The Flaming Orchid

on xxxx\data\monster\demons ... add:


<?xml version="1.0" encoding="UTF-8"?>
<monster name="The Flaming Orchid" nameDescription="The Flaming Orchid" race="blood" experience="8500" speed="160" manacost="0">
<health now="4000" max="4000" />
<look type="150" head="114" body="94" legs="78" feet="79" addons="3" corpse="24643" />
<targetchange interval="4000" chance="20" />
<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="80" />
<flag runonhealth="250" />
</flags>
<attacks>
<attack name="melee" interval="2000" min="0" max="-252" />
<attack name="the flaming orchid fire" interval="2000" chance="12" range="3" target="1" min="-100" max="-300"/>
<attack name="death" interval="2000" chance="10" range="6" target="1" radius="6" min="100" max="-500">
<attribute key="areaEffect" value="mortarea" />
</attack>
<attack name="lifedrain" interval="4000" chance="15" length="8" spread="0" min="-100" max="-350">
<attribute key="areaEffect" value="yellowspark" />
</attack>
<attack name="fire" interval="2000" chance="11" range="6" target="1" radius="6" min="-100" max="-200">
<attribute key="shootEffect" value="fire" />
<attribute key="areaEffect" value="fire" />
</attack>
</attacks>
<defenses armor="49" defense="49">
<defense name="the flaming orchid paralyze" interval="3000" chance="12" range="3" target="0" min="-100" max="-300"/>
<defense name="healing" interval="2000" chance="15" min="100" max="280">
<attribute key="areaEffect" value="blueshimmer" />
</defense>
<defense name="invisible" interval="2000" chance="20" duration="8000">
<attribute key="areaEffect" value="teleport" />
</defense>
</defenses>
<elements>
<element physicalPercent="-10" />
<element holyPercent="-10" />
<element icePercent="-10" />
<element energyPercent="-5" />
<element deathPercent="20" />
</elements>
<immunities>
<immunity fire="1" />
<immunity paralyze="1" />
<immunity invisible="1" />
</immunities>
<voices interval="2000" chance="7">
<voice sentence="I will end your torment. Do not run, little mortal." />
<voice sentence="*SNIFF* *SNIFF* BLOOD! I CAN SMELL YOU, MORTAL!" yell="1" />
</voices>
<loot>
<!-- tibia.com -->
<item id="2148" countmax="238" chance="97000" /><!-- gold coin -->
<item id="2152" countmax="10" chance="22222" /> <!-- platinum coin -->
<item id="24630" chance="9000" /> <!-- Golden Lotus Brooch -->
<item id="24631" chance="15000" /> <!-- Peacock Feather Fan -->
<item id="8472" countmax="2" chance="4100" /> <!-- Great Spirit Potion -->
<!-- tibia.br -->
<item id="7368" countmax="13" chance="7350" /> <!-- Assassin Star -->
<item id="6500" chance="6330" /> <!-- Demonic Essence -->
<item id="9971" chance="5330" /> <!-- Gold Ingot -->
<item id="2150" countmax="2" chance="8200" /> <!-- small amethyst -->
<item id="8473" countmax="4" chance="5200" /> <!-- Ultimate Health Potion -->
<item id="2155" chance="4260" /> <!-- green gem -->
<item id="7899" chance="3400" /> <!-- Magma Coat -->
<item id="2186" chance="11111" /> <!-- Moonlight rod -->
<item id="2185" chance="7000" /> <!-- Necrotic rod -->
<item id="24637" chance="2300" /> <!-- Oriental Shoes -->
<item id="5944" chance="4800" /> <!-- Soul Orb -->
<item id="2153" chance="2260" /> <!-- violet gem -->
<!-- youtube -->
<item id="6558" chance="3260" /> <!-- concentrated demonic blood -->
<item id="6558" chance="6260" /> <!-- concentrated demonic blood -->
<item id="6558" chance="9260" /> <!-- concentrated demonic blood -->
<item id="6300" chance="2260" /> <!-- death ring -->
</loot>
</monster>

on xxxx\data\monster... add:

<monster name="The Flaming Orchid" file="demons/the flaming orchid.xml" />

on xxx\data\spells\scripts\monster... add

local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)
combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)

local condition = Condition(CONDITION_FIRE)
condition:setParameter(CONDITION_PARAM_DELAYED, 1)
condition:addDamage(20, 10000, -10)
combat:setCondition(condition)

arr = {
{3}
}

local area = createCombatArea(arr)
combat:setArea(area)
combat:setCondition(condition)


function onCastSpell(creature, var)
return combat:execute(creature, var)
end

And in the same folder create another...

local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_BLACKSMOKE)

local condition = Condition(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -0.8, 0, -0.9, 0)
setCombatCondition(combat, condition)

local area = createCombatArea({
{0, 0, 0, 0, 0, 0, 0},
{0, 0, 1, 1, 1, 0, 0},
{0, 1, 1, 1, 1, 1, 0},
{0, 1, 1, 3, 1, 1, 0},
{0, 1, 1, 1, 1, 1, 0},
{0, 0, 1, 1, 1, 0, 0},
{0, 0, 0, 0, 0, 0, 0}

})
combat:setArea(area)
combat:setCondition(condition)

function onCastSpell(creature, var)
return combat:execute(creature, var)
end

And finally on xxx\data\spells add the next...

<instant name="the flaming orchid paralyze" words="###195" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/the flaming orchid paralyze.lua" />
<instant name="the flaming orchid fire" words="###196" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/the flaming orchid fire.lua" />

Where it says (words="###195") and (words="###196"). Note that numbers are not repeated, if they are repeated, change the numbers for others.

DAWNFIRE ASURA

on xxxx\data\monster\demons ... add:

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Dawnfire Asura" nameDescription="a dawnfire asura" race="blood" experience="4100" speed="140" manacost="0">
<health now="2900" max="2900" />
<look type="150" head="114" body="94" legs="78" feet="79" addons="1" corpse="24643" />
<targetchange interval="4000" chance="10" />
<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="80" />
<flag runonhealth="0" />
</flags>
<attacks>
<attack name="melee" interval="2000" min="0" max="-252" />
<attack name="fire" interval="2000" chance="20" range="3" target="1" min="0" max="-175">
<attribute key="shootEffect" value="fire" />
</attack>
<attack name="dawnfire asura fire" interval="4000" chance="10" range="6" target="1"/>
<attack name="manadrain" interval="3000" chance="12" range="6" min="0" max="-252" />
<attack name="speed" interval="2500" chance="16" target="0" range="1" radius="3" speedchange="-800" duration="5000">
<attribute key="areaEffect" value="blacksmoke" />
</attack>
<attack name="death" interval="2000" chance="8" range="6" target="1" radius="4" min="0" max="-312">
<attribute key="areaEffect" value="mortarea" />
</attack>
<attack name="lifedrain" interval="2000" chance="15" length="8" spread="0" min="0" max="-200">
<attribute key="areaEffect" value="redshimmer" />
</attack>
<attack name="fire" interval="2000" chance="6" range="9" target="1" min="0" max="-100">
<attribute key="shootEffect" value="flammingarrow" />
</attack>
</attacks>
<defenses armor="49" defense="49">
<defense name="dawnfire asura reducer magic" interval="4000" chance="10" target="0" range="1" radius="3">
<attribute key="areaEffect" value="redshimmer" />
</defense>
<defense name="healing" interval="2000" chance="15" min="80" max="119">
<attribute key="areaEffect" value="blueshimmer" />
</defense>
<defense name="speed" interval="2000" chance="15" speedchange="220" duration="5000">
<attribute key="areaEffect" value="redshimmer" />
</defense>
</defenses>
<elements>
<element physicalPercent="-10" />
<element holyPercent="-10" />
<element icePercent="-10" />
<element energyPercent="-5" />
<element deathPercent="20" />
</elements>
<immunities>
<immunity fire="1" />
<immunity paralyze="1" />
<immunity invisible="1" />
</immunities>
<voices interval="2000" chance="7">
<voice sentence="Encounter the flames of destiny!" />
<voice sentence="Fire and destruction!" yell="1" />
<voice sentence="May the flames consume you!" />
</voices>
<loot>
<!-- tibia.com -->
<item id="2148" countmax="88" chance="97000" /> <!-- gold coin -->
<item id="2152" countmax="6" chance="18200" /> <!-- platinum coin -->
<item id="7590" countmax="2" chance="2000" /> <!-- Great Mana Potion -->
<item id="6558" chance="2000" /> <!-- Concentrated Demonic Blood -->
<item id="6558" chance="1500" /> <!-- Concentrated Demonic Blood -->
<item id="2147" countmax="2" chance="4350" /> <!-- Small Rubbie -->
<item id="24630" chance="500" /> <!-- Golden Lotus Brooch -->
<item id="24631" chance="500" /> <!-- Peacock Feather Fan -->
<item id="5944" chance="800" /> <!-- Soul Orb -->
<item id="6500" chance="3330" /> <!-- Demonic Essence -->
<item id="2663" chance="3300" /> <!-- Mystic Turban -->
<item id="2194" chance="4400" /> <!-- Mysterious Fetish -->
<item id="8871" chance="1220" /> <!-- Focus Cape -->
<item id="2187" chance="1200" /> <!-- Wand of Inferno -->
<item id="7899" chance="400" /> <!-- Magma Coat -->
<item id="2133" chance="2400" /> <!-- Ruby Necklace -->
<item id="24637" chance="300" /> <!-- Oriental Shoes -->
<item id="6300" chance="3260" /> <!-- Death Ring -->
<item id="5911" chance="1300" /> <!-- Red Piece of Cloth -->
<item id="8902" chance="200" /> <!-- Spellbook of Mind Control -->
<!-- tibia.br -->
<item id="2150" countmax="2" chance="5200" /> <!-- small amethyst -->
<item id="2145" countmax="2" chance="6200" /> <!-- small diamond -->
<item id="2149" countmax="2" chance="3200" /> <!-- small emerald -->
<item id="9970" countmax="2" chance="3800" /> <!-- small topaz -->
<item id="2158" chance="3260" /> <!-- blue gem -->
<item id="2134" chance="3260" /> <!-- silver brooch -->

</loot>
</monster>

on xxxx\data\monster... add:

<monster name="Dawnfire Asura" file="demons/dawnfire asura.xml" />


on xxx\data\spells\scripts\monster... add

local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_HITBYFIRE)

local condition = Condition(CONDITION_FIRE)
condition:setParameter(CONDITION_PARAM_DELAYED, 1)
condition:addDamage(20, 10000, -10)
combat:setCondition(condition)

arr = {
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 3, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}
}

local area = createCombatArea(arr)
combat:setArea(area)
combat:setCondition(condition)


function onCastSpell(creature, var)
return combat:execute(creature, var)
end

And in the same folder create another...

local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_NONE)
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)

local condition = Condition(CONDITION_ATTRIBUTES)
condition:setParameter(CONDITION_PARAM_TICKS, 10000)
condition:setParameter(CONDITION_PARAM_STAT_MAGICPOINTS, -1)

local area = createCombatArea({
{0, 0, 0, 0, 0},
{0, 1, 1, 1, 0},
{0, 1, 3, 1, 0},
{0, 1, 1, 1, 0},
{0, 0, 0, 0, 0}

})
combat:setArea(area)
combat:setCondition(condition)

function onCastSpell(creature, var)
return combat:execute(creature, var)
end

And finally on xxx\data\spells add the next...

<instant name="dawnfire asura reducer magic" words="###179" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/dawnfire asura reducer magic.lua" />
<instant name="dawnfire asura fire" words="###180" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/dawnfire asura fire.lua" />

Where it says (words="###179") and (words="###180"). Note that numbers are not repeated, if they are repeated, change the numbers for others.

MIDNIGHT ASURA

on xxxx\data\monster\demons ... add:

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Midnight Asura" nameDescription="a midnight asura" race="blood" experience="4100" speed="140" manacost="0">
<health now="3100" max="3100" />
<look type="150" head="0" body="114" legs="90" feet="90" addons="1" corpse="24644" />
<targetchange interval="4000" chance="20" />
<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="80" />
<flag runonhealth="0" />
</flags>
<attacks>
<attack name="melee" interval="2000" min="0" max="-387" />
<attack name="manadrain" interval="2000" chance="10" length="4" spread="0" min="0" max="-110">
<attribute key="areaEffect" value="purpleenergy" />
</attack>
<attack name="death" interval="4000" chance="12" length="8" spread="0" min="0" max="-209">
<attribute key="areaEffect" value="blacksmoke" />
</attack>
<attack name="death" interval="3000" chance="15" range="3" min="-10" max="-209">
<attribute key="areaEffect" value="mortarea" />
<attribute key="shootEffect" value="suddendeath" />
</attack>
<attack name="manadrain" interval="2000" chance="8" range="3" min="0" max="-95">
<attribute key="areaEffect" value="blueshimmer" />
</attack>
<attack name="drunk" interval="2000" chance="12" range="6" radius="4" target="1" duration="5000">
<attribute key="areaEffect" value="yellownote"/>
</attack>
</attacks>
<defenses armor="55" defense="55">
<defense name="invisible" interval="2000" chance="20" duration="8000">
<attribute key="areaEffect" value="blueshimmer" />
</defense>
<defense name="healing" interval="2000" chance="15" min="120" max="170">
<attribute key="areaEffect" value="blueshimmer" />
</defense>
</defenses>
<elements>
<element icePercent="10" />
<element firePercent="10" />
<element energyPercent="-10" />
<element earthPercent="-10" />
<element holyPercent="30" />
</elements>
<immunities>
<immunity death="1" />
<immunity paralyze="1" />
<immunity invisible="1" />
</immunities>
<voices interval="2000" chance="7">
<voice sentence="Ah, the sweet music of a beating heart!"/>
<voice sentence="Death and Darkness"/>
<voice sentence="Embrace the night!" />
<voice sentence="May night fall upon you!" />
</voices>
<loot>
<!-- tibia.com -->
<item id="2148" countmax="100" chance="97000" /> <!-- gold coin -->
<item id="2152" countmax="4" chance="18200" /> <!-- platinum coin -->
<item id="2145" countmax="3" chance="6800" /> <!-- Small Diamond -->
<item id="2146" countmax="3" chance="5580" /> <!-- Small Sapphire -->
<item id="7368" countmax="5" chance="4000" /> <!-- Assassin Stars -->
<item id="2144" countmax="2" chance="6300" /> <!-- Black Pearls -->
<item id="7591" countmax="2" chance="7000" /> <!-- Great Health Potion -->
<item id="5944" chance="4100" /> <!-- Soul Orb -->
<item id="6558" chance="2600" /> <!-- Concentrated Demonic Blood -->
<item id="6558" chance="12000" /> <!-- Concentrated Demonic Blood -->
<item id="6500" chance="4210" /> <!-- Demonic Essence -->
<item id="24630" chance="7800" /> <!-- Golden Lotus Brooch -->
<item id="9971" chance="2300" /> <!-- Gold Ingot -->
<item id="24631" chance="7200" /> <!-- Peacock Feather Fan -->
<item id="2143" countmax="2" chance="5560" /> <!-- White Pearl -->
<item id="2185" chance="900" /> <!-- Necrotic Rod -->
<item id="2134" chance="3100" /> <!-- Silver Brooch -->
<item id="2124" chance="4490" /> <!-- crystal ring -->
<item id="2170" chance="2100" /> <!-- Silver amulet -->
<item id="3967" chance="4100" /> <!-- Tribal Mask -->
<item id="2154" chance="1100" /> <!-- Yellow Gem -->
<item id="2158" chance="1320" /> <!-- Blue Gem -->
<item id="2656" chance="1250" /> <!-- Blue Robe -->
<item id="24637" chance="980" /> <!-- Oriental Shoes -->
<item id="8889" chance="490" /> <!-- Skullcracker Armor -->
<item id="8910" chance="1770" /> <!-- Underworld Rod -->
<item id="7404" chance="730" /> <!-- Assassin Dagger-->
<item id="8902" chance="1200" /> <!-- Spellbook of Mind Control -->
</loot>
<!-- tibia.br -->
<item id="2149" countmax="4" chance="100" /> <!-- small emerald -->
<item id="2147" countmax="4" chance="100" /> <!-- small rubies -->
<item id="9970" countmax="4" chance="100" /> <!-- small topazs -->
<item id="2186" chance="1200" /> <!-- moonlight rod -->
</monster>

on xxxx\data\monster... add:

<monster name="Midnight Asura" file="demons/midnight asura.xml" />


Where it says "yellownote" is actually "Stars Effect" but I can not find the name of the animation, I was looking for it even in the .cpp and it seems that it is not added to my tfs. I leave a picture of the original animation in case anyone wants to help.

35a2bdi.jpg
 
Last edited:
Where it says "yellownote" is actually "Stars Effect" but I can not find the name of the animation, I was looking for it even in the .cpp and it seems that it is not added to my tfs. I leave a picture of the original animation in case anyone wants to help.

"stars effect" = stun
 
Back
Top