From ecf927b6b48061ef4699495bf6c38fc6a77b2ef3 Mon Sep 17 00:00:00 2001 From: Paradox924X Date: Tue, 28 Oct 2008 00:50:32 +0000 Subject: Removed leftovers of "bLoseSPWhenUnequip" and "bDamageWhenUnequip" -- deprecated in r6204. Item 2385 was still using bLoseSPWhenUnequip -- fixed. npc/custom/events/xmas_rings_event.txt still uses both in conjunction with setitemscript. Someone will need to make it so equip and/or unequip scripts change be changed as well, or find an alternative solution. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13327 54d463be-8e91-2dee-dedb-b68131a5f0ec --- doc/item_bonus.txt | 3 --- doc/script_commands.txt | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/item_bonus.txt b/doc/item_bonus.txt index cfdc22e21..dd3fab3ef 100644 --- a/doc/item_bonus.txt +++ b/doc/item_bonus.txt @@ -192,7 +192,6 @@ bonus bSPGainValue,n; When killing a monster by physical attack, you gain n SP bonus bHPGainValue,n; When killing a monster by physical attack, you gain n HP bonus bIgnoreDefMob,n; Ignore monster's DEF when attacking. n: 0=All normal monster except Bosses, 1=All monsters -bonus bDamageWhenUnequip,n; You lose n HP when the item is unequipped bonus2 bCriticalAddRace,n,r; Critical + n vs. enemies of race r r: 0=Formless, 1=Undead, 2=Brute, 3=Plant, 4=Insect, @@ -283,8 +282,6 @@ bonus2 bAddItemHealRate,n,x; Increases HP recovered by n type items by x%, //---- 3/15 new card effects ---- -bonus bLoseSPWhenUnequip,n; Lose n SP when the item is unequipped - bonus2 bSPRegenRate,n,x; Gain n SP every x milliseconds bonus2 bSPLossRate,n,x; Lose n SP every x milliseconds bonus2 bExpAddRace,n,x; Increase exp gained by x% vs. enemies of race n diff --git a/doc/script_commands.txt b/doc/script_commands.txt index c8737ac51..886a2b6b3 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -5948,7 +5948,7 @@ You can remove an item's itemscript by leaving empty the itemscript argument. Example: -setitemscript 2637,"{ bonus bDamageWhenUnequip,40; if(isequipped(2236)==0)end; if(getskilllv(26)){skill 40,1;}else{skill 26,1+isequipped(2636);} }"; +setitemscript 2637,"{ if(isequipped(2236)==0)end; if(getskilllv(26)){skill 40,1;}else{skill 26,1+isequipped(2636);} }"; setitemscript 2639,""; --------------------------------------- -- cgit v1.2.3-70-g09d2