Author Topic: Lifesteal :D help please (first time ever)  (Read 490 times)

Legacy_KiKurA

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
Lifesteal :D help please (first time ever)
« on: April 04, 2011, 07:35:23 pm »


               okey, as you can see in  i'm not satisfied with vampiric regen '<img'>, how can i firstly i guess, get this script to work, and then put it on specefic weapons

void main()
{
  int DamageHeal = (int GetDamageDealtByType(DAMAGE_TYPE_BASE_WERAPON) / 10 * 1);
  if (DamageHeal > 0)
  {
    EffectDamage(DamageHeal,DAMAGE_TYPE_BASE_WERAPON,DAMAGE_POWER_PLUS_FIFTEEN);
    EffectHeal(DamageHeal);
  }
}
               
               

               
            

Legacy_KiKurA

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
Lifesteal :D help please (first time ever)
« Reply #1 on: April 04, 2011, 07:40:05 pm »


               oh my, i think i posted in the wrong section xD my bad, how do i delete this topic?