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

Help me please!

Fidde

n00bMapper
Joined
May 21, 2009
Messages
22
Reaction score
1
Location
I don't say, dont getting PK'd that way ;D
Hi folks, I'm working on a NPC that will give the player a quest there the player will slay a monster to get a dragonfetish, when that is done, the player will get an armor that depends on the vocation of the player, like this
  1. If the player is a Knight or a Paladin, he/she will get a Lavos Armor.
  1. If the player is a Druid or Sorcerer, he/she will get a Magma Coat.

Also if it's possible the npc is willing to teleport the player to an area for a high amount of gold.

And one more thing, I can't import the monster into my mepeditor.

Here is the codes for the NPC:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Uthi" script="data/npc/scripts/uthi.lua" walkinterval="2000" floorchange="0">
	<health now="3000" max="3000"/>
	<look type="39"/>
	<parameters>
	    <parameter key="message_greet" value="Hello  |PLAYERNAME|, what can I do for you?" />
		<parameter key="keywords" value="job;help;quest;finnish;bye" />
		<parameter key="module_keywords" value="1" />
		<parameter key="keyword_reply1" value="I am the last dragon that fights on the side of humans of the Dragon Order, and you might {help} me?" />
		<parameter key="keyword_reply2" value="I'm villing to give you a reward for this {quest}" />
		<parameter key="keyword_reply3" value="I want you to say hello to an old friend of mine, his name is Feragorn, he is located in the desert of the town Pharao. But I must warn you, He is very strong." />		
		<parameter key="keyword_reply4" value="Ah! You took care of him? Good. Here is your reward!" />
		<parameter key="keyword_reply5" value="So I am alone again." />
	</parameters>
</npc>

and for the monster the player are going to kill
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Fergorn Dragonrider" nameDescription="a dwarf" race="blood" experience="1650" speed="200" manacost="650">
	<health now="2450" max="2450"/>
	<look type="70" corpse="6013"/>
	<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="1"/>
		<flag targetdistance="1"/>
		<flag staticattack="90"/>
		<flag runonhealth="0"/>
	</flags>
	
	<attacks>
		<attack name="melee" interval="2000" min="60" max="200"/>
	</attacks>
	<defenses armor="15" defense="22"/>
	<elements>
		<element earthPercent="90"/>
		<element physicalPercent="20"/>
		<element firePercent="-5"/>
		<element deathPercent="-5"/>
	</elements>
	<immunities>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="I comanding the skies to open!"/>
	</voices>
	<loot>
		<item id="2319" chance="25000"/><!-- dragonfetish -->
			
		</item>
	</loot>
</monster>

/Fidde.
 
I can help you write in better english (not with offending purposes)

Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Uthi" script="data/npc/scripts/uthi.lua" walkinterval="2000" floorchange="0">
	<health now="3000" max="3000"/>
	<look type="39"/>
	<parameters>
	    <parameter key="message_greet" value="Hello  |PLAYERNAME|, what can I do for you?" />
		<parameter key="keywords" value="job;help;quest;finnish;bye" />
		<parameter key="module_keywords" value="1" />
		<parameter key="keyword_reply1" value="I am the last dragon that fights on the side of humans of the Dragon Order. I have a task for you. Would you {help} me?" />
		<parameter key="keyword_reply2" value="I'm willing to reward you for accomplishing this {quest}" />
		<parameter key="keyword_reply3" value="I want you to visit an old friend of mine, his name is Feragorn. He lives in the Pharao's town desert. I must warn you, he is very strong." />		
		<parameter key="keyword_reply4" value="Ah! Did you take care of him? Good. Here is your reward!" />
		<parameter key="keyword_reply5" value="So I am alone again." />
	</parameters>
</npc>
 
Back
Top