Issue information

Issue ID
#6434
Status
Started
Severity
None
Started
Hercules Elf Bot
Aug 8, 2012 13:44
Last Post
Hercules Elf Bot
Aug 22, 2012 19:48
Confirmation
N/A

Hercules Elf Bot - Aug 8, 2012 13:44

Originally posted by [b]Vali[/b]
The item is not giving the ability of heal 20% more. Tested like 50 times, and I always get the same heal using Sanctuary. Im not sure if the problem is the script or if it's a core problem with the autobonus3.

Also the script has 2 seconds of use and the description say 3.

Vali~

Hercules Elf Bot - Aug 8, 2012 18:04

Originally posted by [b]EvilPuncker[/b]
did u test it using any other healing skill? I'm afraid that sanctuary heals a fixed amount always

This post has been edited by EvilPuncker on Aug 8, 2012 18:05

Hercules Elf Bot - Aug 8, 2012 18:18

Originally posted by [b]Vali[/b]
With heals seems to work. Then is something with the skill Sanctuary? Anyways the 2 seconds are not the correct, should be 3.

Hercules Elf Bot - Aug 8, 2012 23:27

Originally posted by [b]Aleos[/b]
[code]// Skills that bHealPower has effect on
// 1: Heal, 2: Sanctuary, 4: Potion Pitcher, 8: Slim Pitcher, 16: Apple of Idun
skill_add_heal_rate: 7[/code]Taken from battle/skill.conf.

pc_skillheal_bonus gets called from skill_calc_heal which determines if the specified skills will grant the bonus or not.

Hercules Elf Bot - Aug 8, 2012 23:43

Originally posted by [b]Vali[/b]
Nice, mine is 7 too and doesn't work with sanctuary.

Hercules Elf Bot - Aug 9, 2012 0:15

Originally posted by [b]Aleos[/b]
[code]autobonus3 "{ bonus bHealPower,20; }",50,2000,"PR_SANCTUARY";[/code]
Try changing the 50 to 1000 to make it 100% instead of 5% chance of "casting". Then we can actually know if there is a deeper problem. Just glancing at the source looks fine.

I just noticed there is a specific autobonus for Sanctuary. Didn't scroll to end of item bonus.

This post has been edited by Aleos on Aug 9, 2012 0:16

Hercules Elf Bot - Aug 22, 2012 19:47

Originally posted by [b]Kenpachi[/b]
Durations fixed in [rev=16686].

Seems that autobonus3 doesn't trigger properly. I used this script:[CODE]
autobonus3 "{ bonus bMaxHP,100000; }",1000,30000,"PR_SANCTUARY","{ specialeffect2 EF_FIRESPLASHHIT; }";
[/CODE]No effect showed up and my HP wasn't modified, too.

Moving this to Core section.