Jump to content
  • 0
Sign in to follow this  
esquilla13

Item/Mob DB script Urgent Request

Question

Hello DB Masters! I wanted to request various of scripts of my mobs/items. This maybe long but I really don't know how to script them. I'm still learning ..
So for generous people out there please help me ani_swt.gif

 

 

 

How can I script this?

- Valkyrie Randgris respawn time is 8Hours (420Minutes)
- Kiel respawn time is 2Hours (120Minutes)

 

- Golden Thief Bug Card (GTB) = 99% Immunity to magic spells. Only 75% immunity for the Mage Class and 95% Immunity for Ninja

- Yggdrasil Seed & Yggdrasil Berry = No effect on Paladins

- Berzebub Card = Reduce Casting time by 30% | Reduce Casting time by 25% [3rd Jobs]

- Fallen Bishop Hibram Card = MATK +10%, Maximum SP -50%, Increase MAGIC damage inflected on Demihuman and Angel monster by 30%

And also How can I make a certain Item Storageable, Non-Droppable, Non Tradeable

 

 

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

not sure if you got your answer, this was still on the first page when i started reading the forum.

 

took me a second as i didnt realize item_nodrop nolonger exists :D

 

https://raw.githubusercontent.com/HerculesWS/Hercules/master/db/re/item_db.conf

 

 

just add a Trade: field in the item structure.

 

Trade: {

  nodrop: true

  notrade: true

  }

 

 

just look at the item_db.conf i linked to for the full use.   that takes care of your last question.

 

 

for your spawn timers..

 

kh_dun02,0,0,0,0 boss_monster Kiel D-01 1734,1,7200000,600000,0

all spawns are in the npc/(re/pre)/mobs  directories open up the file and the 2nd and 3rd from last fields are the spawn timers.

 

first one is the base respawn timer second one is a variance on top of the base respawn timer.   the respawn timer is in MS so  calculate that rate 5000 is a 5 second respawn timer.

 

 

as for your item issues, ill jsut touch base on the berries

 

use if(Class == Job_Paladin) script.

 

{	Id: 607	AegisName: "Yggdrasilberry"	Name: "Yggdrasil Berry"	Type: 0	Buy: 5000	Weight: 300	Upper: 63	BuyingStore: true	Delay: 5000	Script: <" 			if(Class == Job_Paladin) { end;	}			else percentheal 100,100; ">}

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.