Google
发新话题
打印

恢复技能BUG修复补丁(修复无装备加成BUG)

恢复技能BUG修复补丁(修复无装备加成BUG)

本帖隐藏的内容需要回复才可以浏览
别人笑我太疯癫,我笑他人看不穿 http://ftp.99game.org/seal/suiyuan.jpg

TOP

好啊 我刚才用GM改了下结果FM技能没有了 点不出来

TOP

恢复技能BUG修复补丁
修复了什么啊?

TOP

我看了官方论坛,我认为修复些治疗技能持续时间用以下补丁好
Index: src/ascent-world/SpellAuras.cpp
===================================================================
--- src/ascent-world/SpellAuras.cpp? ? (revision 3945)
+++ src/ascent-world/SpellAuras.cpp? ? (working copy)
@@ -2058,7 +2058,7 @@

? ?? if( c != NULL )
? ?? {
-? ? ? ? bonus += m_target->HealTakenMod[m_spellProto->School] + (amount * c->HealDonePctMod[m_spellProto->School]) / 100;
+? ? ? ? bonus += m_target->HealTakenMod[m_spellProto->School] + (amount * c->HealDonePctMod[m_spellProto->School]) ;
? ?? }

? ?? if( c != NULL && m_spellProto->SpellGroupType )
@@ -2080,7 +2080,7 @@
? ?? }

? ?? int amp = m_spellProto->EffectAmplitude[mod->i];
-? ? if( amp > 0 )
+? ? if(!amp)
? ? ? ?? amp = static_cast< EventableObject* >( this )->event_GetEventPeriod( EVENT_AURA_PERIODIC_HEAL );

? ?? if( GetDuration() )

TOP

楼主在www.ASCENTEMU.COM论坛上抄来了后尽瞎说,哎……悲哀啊!
不懂麻烦你不要装懂!什么装备加成,狗屁!明明是关于治疗的!

TOP

楼主在www.ASCENTEMU.COM论坛上抄来了后尽瞎说,哎……悲哀啊!
不懂麻烦你不要装懂!什么装备加成,狗屁!明明是关于治疗的!

这句 经典~~ 哈哈

TOP

修复什么的呀?
有说明吗?

TOP

官方修复代码是这样的:

Index: SpellAuras.cpp

===================================================================

--- SpellAuras.cpp  (revision 4002)

+++ SpellAuras.cpp  (working copy)

@@ -2053,10 +2053,7 @@

     //Druid Tree of Life form. it should work not like this, but it&#39;s better then nothing.
     if( static_cast< Player* >( c )->IsInFeralForm() && static_cast< Player* >( c )->GetShapeShift() == FORM_TREE)
       bonus += float2int32( 0.25f * static_cast< Player* >( c )->GetUInt32Value( UNIT_FIELD_STAT4 ) );
-  }

-  if( c != NULL )
-  {
     //Spell Coefficient
     if( m_spellProto->OTspell_coef_override >= 0 ) //In case we have forced coefficients
       bonus = float2int32( float( bonus ) * m_spellProto->OTspell_coef_override );
@@ -2104,7 +2101,6 @@

   {
     int ticks = ( amp > 0 ) ? GetDuration() / amp : 0;
     bonus = ( ticks > 0 ) ? bonus / ticks : 0;
-    bonus = float2int32( float( bonus * GetDuration() / 15000.0f ) );
   }
   else
     bonus = 0;

大家懂的都看看怎么修复才好呢!

TOP

能不能修B4 版本的啊`B4 版本`猎人的技能全是BUG 可以说 根本就用不了`
学海无涯~!努力努力努力~!

TOP

TOP

看下,谢谢分享

TOP

fdgdfgdfgdfgdfg

TOP

天行健,君子当刚强不息!

TOP

TOP

TOP

发新话题