LucasFerraz
Systems Analyst
Do you know that way to train in Target Dummies? This is the best way because it saves space.
Thus 8 players can train simultaneously in every monster. You will not need 5 floors to allocate 280 players at once because You just need 35 Target Dummies to do that.
Target Dummy
It casts a physical spell which makes all around getting shield rating, but it's not all. It's like 2 monster attacking each player. Like usual.
made by Santy.
creaturescripts.xml:
antipush.lua:
Thus 8 players can train simultaneously in every monster. You will not need 5 floors to allocate 280 players at once because You just need 35 Target Dummies to do that.
How it works
Code:
If [I]player who got pushed¹[/I] is attacking Target Dummy then the [I]player who is pushing²[/I] will receive a cancel.
Text: Sorry, not possible.
Target Dummy
It casts a physical spell which makes all around getting shield rating, but it's not all. It's like 2 monster attacking each player. Like usual.
XML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Target Dummy" nameDescription="a target dummy" race="energy" experience="0" speed="0" manacost="0">
<health now="100000" max="100000"/>
<look type="304" corpse="9801"/>
<targetchange interval="1000" chance="0"/>
<strategy attack="100" defense="0"/>
<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="0"/>
<flag staticattack="90"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="physical" interval="1000" chance="100" radius="3" min="-1" max="-2">
</attack>
<attack name="physical" interval="1200" chance="100" radius="3" min="-1" max="-2">
</attack>
</attacks>
<defenses armor="1" defense="1">
<defense name="healing" interval="10000" chance="100" min="100000" max="100000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<voices interval="12500" chance="25">
<voice sentence="I hope you are enjoying your sparring Sir or Ma'am!"/>
<voice sentence="Threat level rising!"/>
<voice sentence="Engaging in hostile interaction!"/>
<voice sentence="Rrrtttarrrttarrrtta"/>
<voice sentence="Please feel free to hit me Sir or Ma'am!"/>
<voice sentence="klonk klonk klonk"/>
<voice sentence="Self-diagnosis running."/>
<voice sentence="Battle simulation proceeding."/>
<voice sentence="Repairs initiated!"/>
</voices>
</monster>
made by Santy.
creaturescripts.xml:
XML:
<event type="push" name="AntiPush" event="script" value="antipush.lua"/>
Lua:
local targetlist, ret = {"Target Dummy"}, true
function onPush(cid, target, ground, position)
inArray = function (name) return isInArray(targetlist, name:lower()) end
if((isPlayer(target) and inArray(getCreatureName(getCreatureTarget(target)))) or inArray(getCreatureName(target))) then
ret = RETURNVALUE_NOTPOSSIBLE
end
return ret
end
Attachments
-
21kxekm.jpg9.4 KB · Views: 217 · VirusTotal
Last edited: