Issue information

Issue ID
#4211
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Apr 28, 2010 18:48
Last Post
Hercules Elf Bot
Dec 13, 2011 21:23
Confirmation
N/A

Hercules Elf Bot - Apr 28, 2010 18:48

Originally posted by [b]DeePee[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4211

Mushika[1] (2545) seems to be bugged.

Current script:

CODE
bonus bMdef,3; bonus3 bAutoSpell,"AL_HEAL",getskilllv("AL_HEAL") ? getskilllv("AL_HEAL") : 1,20;


AEGIS script:

CODE
item Musika
    event OnStartEquip:
        var temp = GetSkillLevel [AL_HEAL]
        SetAutoSpell_MLEATKED User AL_HEAL temp 20
    return
    event OnFinishEquip:
        SetAutoSpell_MLEATKED User AL_HEAL 0 0
    return


Description:

CODE
MDEF + 3
Add a chance of auto casting Level 1 Heal on yourself when the user receiving physical damage.
If you know a higher level of heal, you will cast that level instead.


So yeah, the current eA script makes it heal when you attack the enemy. It's supposed to heal when you are being hit.

New script would be something like:

CODE
bonus bMdef,3; bonus3 bAutoSpellWhenHit,"AL_HEAL",getskilllv("AL_HEAL") ? getskilllv("AL_HEAL") : 1,20;


This post has been edited by DeePee: Apr 28 2010, 11:48 AM