Explorar el Código

Fixed 5293,Ramen_Hat, should cast AgiDown on enemy at 3% when melee attacked, bugreport:286

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12782 54d463be-8e91-2dee-dedb-b68131a5f0ec
shadow hace 17 años
padre
commit
089ed8e415
Se han modificado 3 ficheros con 4 adiciones y 2 borrados
  1. 1 0
      db/Changelog.txt
  2. 1 1
      db/item_db.txt
  3. 2 1
      doc/item_bonus.txt

+ 1 - 0
db/Changelog.txt

@@ -44,6 +44,7 @@
 
 =======================
 2008/06/08
+	* Fixed 5293,Ramen_Hat, should cast AgiDown on enemy at 3% when melee attacked, bugreport:286
 	* Added a list of aegis effect constants to be used on scripts, this should help on script conversion.
 		they go up to 377, but for higher values, you can still use the integers found on /doc/effect_list.txt
 	* Added a list of aegis npc name constants to be used on scripts (eA doesnt support this yet).

+ 1 - 1
db/item_db.txt

@@ -2184,7 +2184,7 @@
 5290,Evolved_Drooping_Bunny,Drooping Bunny,5,,10,100,,1,,0,0xFFFFFFFF,7,2,256,,0,1,249,{ bonus bDex,1; bonus bFlee,2; },{},{}
 5291,Kettle_Hat,Kettle Hat,5,,10,600,,4,,0,0xFFFFFFFF,7,2,256,,30,1,318,{ bonus4 bAutoSpell,286,2,30,0; bonus3 bAutoSpell,86,3,30; },{},{}
 5292,Dragon_Skull,Dragon Skull,5,,10,800,,5,,0,0xFFFFFFFF,7,2,256,,50,1,319,{ bonus2 bSubRace,RC_Dragon,5; },{},{}
-5293,Ramen_Hat,Ramen Hat,5,,10,0,,1,,0,0xFFFFFFFF,7,2,256,,0,1,320,{ bonus bDex,4; bonus3 bAutoSpell,30,1,100; },{},{}
+5293,Ramen_Hat,Ramen Hat,5,,10,0,,1,,0,0xFFFFFFFF,7,2,256,,0,1,320,{ bonus bDex,4; bonus4 bAutoSpellWhenHit,30,1,30; },{},{}
 5294,Whisper_Mask,Whisper Mask,5,,10,0,,0,,0,0xFFFFFFFF,7,2,769,,0,0,321,{ bonus bAgi,3; bonus2 bSubEle,Ele_Ghost,-10; },{},{}
 //5295,Golden_Bandana,Golden Bandana,5,,10,2400,,4,,0,0xFFFFFFFF,7,2,768,,,1,138,{ bonus bMdef,4; },{},{}
 5296,Drooping_Nine_Tail_,Drooping Nine Tail,5,,10,300,,1,,1,0xFFFFFFFF,7,2,256,,0,0,296,{ bonus bAgi,1; bonus bCritical,1; },{},{}

+ 2 - 1
doc/item_bonus.txt

@@ -186,7 +186,8 @@ bonus3 bSPDrainValue,n,x,y;		When attacking there is a n% chance to either
 					YOUR sp)
 bonus4 bAutoSpell,x,y,n,i;		n/10% chance to cast skill x of level y when
 					being attacking
-					i: 1=cast on enemy, not on self
+					i: 0=cast on self
+					   1=cast on enemy, not on self
 					   2=use random skill lv in [1..y]
 					   3=1+2 (random lv on enemy)
 bonus4 bAutoSpellWhenHit,x,y,n,i;	n/10% chance to cast skill x of level y when