浏览代码

Fixed seven wind not allowing ghost/shadow. (bugreport:1155)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12505 54d463be-8e91-2dee-dedb-b68131a5f0ec
Kevin 17 年之前
父节点
当前提交
bc0873f681
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 1 0
      Changelog-Trunk.txt
  2. 3 1
      src/map/status.c

+ 1 - 0
Changelog-Trunk.txt

@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2008/04/06
+	* Fixed seven wind not allowing ghost/shadow. (r12505) [Kevin]
 	* Added Moscovia to the list of @go destinations [Toms]
 2008/04/05
 	* Unequip should no longer remove any buff from seven wind. (r12503) [Kevin]

+ 3 - 1
src/map/status.c

@@ -319,7 +319,9 @@ void initChangeTables(void)
 	set_sc( TK_READYCOUNTER      , SC_READYCOUNTER    , SI_READYCOUNTER    , SCB_NONE );
 	set_sc( TK_DODGE             , SC_DODGE           , SI_DODGE           , SCB_NONE );
 	set_sc( TK_SPTIME            , SC_TKREST          , SI_TKREST          , SCB_NONE );
-	add_sc( TK_SEVENWIND         , SC_SEVENWIND );
+	add_sc( TK_SEVENWIND         , SC_SEVENWIND ); 
+	set_sc( TK_SEVENWIND         , SC_GHOSTWEAPON     , SI_GHOSTWEAPON     , SCB_ATK_ELE ); 
+	set_sc( TK_SEVENWIND         , SC_SHADOWWEAPON    , SI_SHADOWWEAPON    , SCB_ATK_ELE ); 
 	set_sc( SG_SUN_WARM          , SC_WARM            , SI_WARM            , SCB_NONE );
 	add_sc( SG_MOON_WARM         , SC_WARM            );
 	add_sc( SG_STAR_WARM         , SC_WARM            );