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

Its Possible?

magesty

New Member
Joined
Jan 10, 2008
Messages
109
Reaction score
0
Hello ...


I want to help make a scripts


I feel good that they serve all their servers RPG series =)


good idea is to make a start scripts assassin

that is by random! Xd

e.g. ..

hits from 1 to 550 .. unpeeled

marrow that is a sure hit =)

good hopefully help me and I think that would help many more

please script pls =)
Help me XD:(
 
Im try, but im dont know it is that...
Here you are:

Items.xml put / edit:
Code:
<item id="7368" article="an" name="assassin star" plural="assassin stars">
	<attribute key="weight" value="200"/>
	<attribute key="attack" value="65"/>
	<attribute key="weaponType" value="distance"/>
	<attribute key="shootType" value="redstar"/>
	<attribute key="range" value="5"/>
	<attribute key="breakChance" value="5"/>
	<attribute key="ammoAction" value="moveback"/>
	</item>

Weapons.xml put / edit:
Code:
	<distance id="7366" event="script" value="viper_star.lua"/>

Make new file in OtDir/weapons/scripts named assassin.lua:
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 18)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0.0, -1, 0.0, -550)

function onUseWeapon(cid, var)
	return doCombat(cid, combat, var)
end


Im not sure, but meybe its this what you want... ^_^
 
Back
Top