Jump to content
  • 0

Revert Healing Power


Alayne

Question


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   170
  • Joined:  02/25/12
  • Last Seen:  

Hi Guys,

 

I'd like to enable a different kind of gameplay on my server, and for that, I'd like to revert the healing power (for exemple, made it make damages instead of healing).

Is it possible to know the current healing lvl to revert it by anyway with an item?

 

Thanks in advance.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

Which kind of healing do you want to have reversed effects?

 

Healing skills (Heal, Highness Heal, etc.)

 

or

 

Healing items (Berries, Potions, etc.)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   170
  • Joined:  02/25/12
  • Last Seen:  

Healing Skills.

I can do a bHealPower, -x% (and I'll do it this way I think), but it won't completely reverse the process (I mean if you got a total bonus of 350% by using lots of items, or 280%, I can't say bonus bHealPower, -totalBonus, if you know what I mean)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

There's a lot of work but here's an idea, you can reverse their formulas in src/map/skill.c

 

example..

if (skill_id == AB_HIGHNESSHEAL)
hp = hp * ( 17 + 3 * skill_lv ) / 10;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   170
  • Joined:  02/25/12
  • Last Seen:  

Yeah, I've already find it, but that's not possible either. Cause I don't want to revert completely the process. I mean, the AB and Priest should still heal people if they don't have the correct item equipped.

But I think too that I won't have any other options than source modification.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

Well, you can turn the target into an undead, so you can deal damage to them when you heal them.

bonus4 bAutoSpellOnSkill,"AL_HEAL","NPC_CHANGEUNDEAD",1,1000;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   170
  • Joined:  02/25/12
  • Last Seen:  

OH! That's a great idea! Good point to you ^^

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...