• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

MoveEvent [RELEASE] Firewalker Boots

eyy give me a break that was 2009

u human before? omg
btw reply me, chojrak function sucksss :S, he say relocate bp to parcel and send, cuz i wanna send the bp with items inside ;D
lol nice offtopic
@ON: Nice script (I guess)
 
Code:
local condition = {}
for i = 1, 4 do
	table.insert(condition, createConditionObject(CONDITION_FIRE))
	addDamageCondition(condition[i], 1, 0, -(i == 1 and 20 or i==2 and 2 or i == 3 and 10 or i == 4 and 1))
	addDamageCondition(condition[i], isInArray({1,3},i)==TRUE and 7 or 2, 9000, -(isInArray({1,3},i)==TRUE and 10 or 1))
end

function onStepIn(cid, item, position, fromPosition)
	if isPlayer(cid) == FALSE or getPlayerFlagValue(cid, PlayerFlag_CannotBeAttacked) == FALSE then
		return doRemoveCondition(cid, CONDITION_FIRE), doAddCondition(cid, isInArray({1487,1492},item.itemid) == TRUE and condition[isPlayer(cid) == TRUE and getPlayerSlotItem(cid, CONST_SLOT_FEET).itemid == 9932 and 2 or 1] or condition[isPlayer(cid) == TRUE and getPlayerSlotItem(cid, CONST_SLOT_FEET).itemid == 9932 and 4 or 3])
	else
		doSendMagicEffect(position, CONST_ME_POFF)
	end
end
You also need to remove bold red lines from items.xml:
Code:
	<item id="1487" article="a" name="fire field">
		<attribute key="type" value="magicfield"/>
		<attribute key="replaceable" value="0"/>
[B][COLOR="Red"]		<attribute key="field" value="fire">
			<attribute key="damage" value="20"/>
			<attribute key="ticks" value="10000"/>
			<attribute key="count" value="7"/>
			<attribute key="damage" value="10"/>
		</attribute>[/COLOR][/B]
	</item>
	<item id="1488" article="a" name="fire field">
		<attribute key="type" value="magicfield"/>
		<attribute key="replaceable" value="0"/>
[B][COLOR="Red"]		<attribute key="field" value="fire">
			<attribute key="ticks" value="10000"/>
			<attribute key="count" value="7"/>
			<attribute key="damage" value="10"/>
		</attribute>[/COLOR][/B]
	</item>

	<item id="1492" article="a" name="fire field">
		<attribute key="type" value="magicfield"/>
		<attribute key="decayTo" value="1493"/>
		<attribute key="duration" value="120"/>
[B][COLOR="Red"]		<attribute key="field" value="fire">
			<attribute key="damage" value="20"/>
			<attribute key="ticks" value="10000"/>
			<attribute key="count" value="7"/>
			<attribute key="damage" value="10"/>
		</attribute>[/COLOR][/B]
	</item>
	<item id="1493" article="a" name="fire field">
		<attribute key="type" value="magicfield"/>
		<attribute key="decayTo" value="1494"/>
		<attribute key="duration" value="120"/>
[B][COLOR="Red"]		<attribute key="field" value="fire">
			<attribute key="ticks" value="10000"/>
			<attribute key="count" value="7"/>
			<attribute key="damage" value="10"/>
		</attribute>[/COLOR][/B]
	</item>

Cyko, what about magma set and others protection to fire?
Will it work properly?
 
How should I register?

this
XML:
	<movevent type="StepIn" itemid="1487" event="function" value="test.lua"/>
	<movevent type="AddItem" itemid="1487" event="function" value="onAddField"/>
	<movevent type="StepIn" itemid="1488" event="function" value="test.lua"/>
	<movevent type="AddItem" itemid="1488" event="function" value="onAddField"/>
or
XML:
	<movevent type="StepIn" itemid="1487" event="function" value="test.lua"/>
	<movevent type="StepIn" itemid="1488" event="function" value="test.lua"/>
 
Code:
	<movevent type="StepIn" itemid="1487" event="[COLOR="#FF0000"]script[/COLOR]" value="test.lua"/>
	<movevent type="AddItem" itemid="1487" event="function" value="onAddField"/>
	<movevent type="StepIn" itemid="1488" event="[COLOR="#FF0000"]script[/COLOR]" value="test.lua"/>
	<movevent type="AddItem" itemid="1488" event="function" value="onAddField"/>
 
I removed and Firewalker still block GFB.

This is my fire devil
XML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Fire Devil" nameDescription="a fire devil" race="blood" experience="110" speed="190" manacost="530">
	<health now="200" max="200"/>
	<look type="40" corpse="5985"/>
	<targetchange interval="5000" chance="8"/>
	<strategy attack="100" defense="0"/>
	<flags>
		<flag summonable="1"/>
		<flag attackable="1"/>
		<flag hostile="1"/>
		<flag illusionable="1"/>
		<flag convinceable="1"/>
		<flag pushable="0"/>
		<flag canpushitems="1"/>
		<flag canpushcreatures="0"/>
		<flag targetdistance="4"/>
		<flag staticattack="90"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="1200" min="-20" max="-50"/>
		<attack name="fire" interval="4000" chance="12" range="7" radius="4" target="1" min="-60" max="-90">
			<attribute key="shootEffect" value="fire"/>
			<attribute key="areaEffect" value="firearea"/>
		</attack>
		<attack name="fire" interval="2000" chance="25" range="7" radius="2" target="1" min="-20" max="-50">
			<attribute key="shootEffect" value="fire"/>
			<attribute key="areaEffect" value="firearea"/>
		</attack>
	</attacks>
	<defenses armor="13" defense="15"/>
	<elements>
		<element firePercent="100"/>
		<element energyPercent="30"/>
		<element earthPercent="25"/>
		<element deathPercent="15"/>
		<element physicalPercent="10"/>
		<element icePercent="-20"/>
		<element holyPercent="-10"/>
	</elements>
	<voices interval="5000" chance="10">
		<voice sentence="Hot, eh?"/>
		<voice sentence="Hell, oh hell!"/>
	</voices>
	<loot>
		<item id="2148" countmax="20" chance="100000"/><!-- gold coin -->
		<item id="2666" countmax="3" chance="33333"/><!-- meat -->
		<item id="2185" chance="833"/><!-- necrotic rod -->
		<item id="2050" chance="20000"/><!-- torch -->
		<item id="2419" chance="10000"/><!-- scimitar -->
		<item id="2387" chance="5000"/><!-- double axe -->
		<item id="2568" chance="15000"/><!-- cleaver -->
		<item id="1987" chance="100000"><!-- bag -->
			<inside>
				<item id="2187" chance="1000"/><!-- wand of inferno -->
				<item id="2515" chance="2857"/><!-- guardian shield -->
				<item id="2260" countmax="1" chance="6666"/><!-- blank rune -->
				<item id="2691" countmax="2" chance="20000"/><!-- brown bread -->
				<item id="2150" countmax="2" chance="1666"/><!-- small amethyst -->
				<item id="2191" chance="833"/><!-- wand of dragonbreath -->
			</inside>
		</item>
	</loot>
</monster>
 
I removed and Firewalker still block GFB.

This is my fire devil
XML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Fire Devil" nameDescription="a fire devil" race="blood" experience="110" speed="190" manacost="530">
	<health now="200" max="200"/>
	<look type="40" corpse="5985"/>
	<targetchange interval="5000" chance="8"/>
	<strategy attack="100" defense="0"/>
	<flags>
		<flag summonable="1"/>
		<flag attackable="1"/>
		<flag hostile="1"/>
		<flag illusionable="1"/>
		<flag convinceable="1"/>
		<flag pushable="0"/>
		<flag canpushitems="1"/>
		<flag canpushcreatures="0"/>
		<flag targetdistance="4"/>
		<flag staticattack="90"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="1200" min="-20" max="-50"/>
		<attack name="fire" interval="4000" chance="12" range="7" radius="4" target="1" min="-60" max="-90">
			<attribute key="shootEffect" value="fire"/>
			<attribute key="areaEffect" value="firearea"/>
		</attack>
		<attack name="fire" interval="2000" chance="25" range="7" radius="2" target="1" min="-20" max="-50">
			<attribute key="shootEffect" value="fire"/>
			<attribute key="areaEffect" value="firearea"/>
		</attack>
	</attacks>
	<defenses armor="13" defense="15"/>
	<elements>
		<element firePercent="100"/>
		<element energyPercent="30"/>
		<element earthPercent="25"/>
		<element deathPercent="15"/>
		<element physicalPercent="10"/>
		<element icePercent="-20"/>
		<element holyPercent="-10"/>
	</elements>
	<voices interval="5000" chance="10">
		<voice sentence="Hot, eh?"/>
		<voice sentence="Hell, oh hell!"/>
	</voices>
	<loot>
		<item id="2148" countmax="20" chance="100000"/><!-- gold coin -->
		<item id="2666" countmax="3" chance="33333"/><!-- meat -->
		<item id="2185" chance="833"/><!-- necrotic rod -->
		<item id="2050" chance="20000"/><!-- torch -->
		<item id="2419" chance="10000"/><!-- scimitar -->
		<item id="2387" chance="5000"/><!-- double axe -->
		<item id="2568" chance="15000"/><!-- cleaver -->
		<item id="1987" chance="100000"><!-- bag -->
			<inside>
				<item id="2187" chance="1000"/><!-- wand of inferno -->
				<item id="2515" chance="2857"/><!-- guardian shield -->
				<item id="2260" countmax="1" chance="6666"/><!-- blank rune -->
				<item id="2691" countmax="2" chance="20000"/><!-- brown bread -->
				<item id="2150" countmax="2" chance="1666"/><!-- small amethyst -->
				<item id="2191" chance="833"/><!-- wand of dragonbreath -->
			</inside>
		</item>
	</loot>
</monster>

addEvent(bump, 24 * 60 * 60,cid)
:p
 
I removed and Firewalker still block GFB.

This is my fire devil
XML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Fire Devil" nameDescription="a fire devil" race="blood" experience="110" speed="190" manacost="530">
	<health now="200" max="200"/>
	<look type="40" corpse="5985"/>
	<targetchange interval="5000" chance="8"/>
	<strategy attack="100" defense="0"/>
	<flags>
		<flag summonable="1"/>
		<flag attackable="1"/>
		<flag hostile="1"/>
		<flag illusionable="1"/>
		<flag convinceable="1"/>
		<flag pushable="0"/>
		<flag canpushitems="1"/>
		<flag canpushcreatures="0"/>
		<flag targetdistance="4"/>
		<flag staticattack="90"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="1200" min="-20" max="-50"/>
		<attack name="fire" interval="4000" chance="12" range="7" radius="4" target="1" min="-60" max="-90">
			<attribute key="shootEffect" value="fire"/>
			<attribute key="areaEffect" value="firearea"/>
		</attack>
		<attack name="fire" interval="2000" chance="25" range="7" radius="2" target="1" min="-20" max="-50">
			<attribute key="shootEffect" value="fire"/>
			<attribute key="areaEffect" value="firearea"/>
		</attack>
	</attacks>
	<defenses armor="13" defense="15"/>
	<elements>
		<element firePercent="100"/>
		<element energyPercent="30"/>
		<element earthPercent="25"/>
		<element deathPercent="15"/>
		<element physicalPercent="10"/>
		<element icePercent="-20"/>
		<element holyPercent="-10"/>
	</elements>
	<voices interval="5000" chance="10">
		<voice sentence="Hot, eh?"/>
		<voice sentence="Hell, oh hell!"/>
	</voices>
	<loot>
		<item id="2148" countmax="20" chance="100000"/><!-- gold coin -->
		<item id="2666" countmax="3" chance="33333"/><!-- meat -->
		<item id="2185" chance="833"/><!-- necrotic rod -->
		<item id="2050" chance="20000"/><!-- torch -->
		<item id="2419" chance="10000"/><!-- scimitar -->
		<item id="2387" chance="5000"/><!-- double axe -->
		<item id="2568" chance="15000"/><!-- cleaver -->
		<item id="1987" chance="100000"><!-- bag -->
			<inside>
				<item id="2187" chance="1000"/><!-- wand of inferno -->
				<item id="2515" chance="2857"/><!-- guardian shield -->
				<item id="2260" countmax="1" chance="6666"/><!-- blank rune -->
				<item id="2691" countmax="2" chance="20000"/><!-- brown bread -->
				<item id="2150" countmax="2" chance="1666"/><!-- small amethyst -->
				<item id="2191" chance="833"/><!-- wand of dragonbreath -->
			</inside>
		</item>
	</loot>
</monster>

Bump, where are you Cyko :<
 
Back
Top