ahmedsuffian / aionxemu

Automatically exported from code.google.com/p/aionxemu
0 stars 0 forks source link

food are removed when using healing pots #320

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Core revision: 273

Bug description: When you got debuffed and use healing pots, the debuff are 
removed as well as your current activated food.

What steps will reproduce the problem?:
1. Use a food
2. Duel a glad and ask him to net you
3. use greater healing pots
4. the net and food will be removed.

What is the expected output?: The debuff should be the only one that will be 
removed.

Original issue reported on code.google.com by Adik...@aionaddiction.com on 28 Apr 2011 at 6:08

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Can Food Effects be dispelled at all by any spells?

Original comment by ZeroSign...@gmail.com on 2 May 2011 at 1:31

GoogleCodeExporter commented 9 years ago
i tested glad vs cleric

TEST #1
cleric use sushi roll food and lunime cocktail
glad ankle snare cleric
cleric use greater healing pots
2 food effect disappear but the ankle snare effect remained

TEST #2
cleric use sushi roll food and lunime cocktail
glad ankle snare cleric
cleric use dispel
2 food effect and ankle snare disappear

Original comment by Adik...@aionaddiction.com on 2 May 2011 at 4:17

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
i checked skill_templates.xml

example)
item_templates.xml
    <item_template id="160002314" level="60" mask="12414" max_stack_count="1000" item_type="NORMAL" item_category="DRINK" quality="RARE" price="4800" origRace="ASMODIANS" restrict="50,50,50,50,50,50,50,50,50,50,50,50" desc="1519495" usedelay="5000" usedelayid="21">

skill_templates.xml
    <skill_template skill_id="10094" name="STR_FOOD_HPREGEN_MPREGEN" nameId="1458641" stack="FOOD_HPREGEN_MPREGEN" lvl="1" skilltype="MAGICAL" skillsubtype="NONE" tslot="SPEC" activation="ACTIVE" cooldown="0" duration="0">

itemid 160002314, skillid 10094, tslot SPEC

EffectController.java
    public void removePhysicalEffect(int value) {
    ...
            if (effect.getTargetSlot() == SkillTargetSlot.BUFF.ordinal())
                continue;

if u want dont remove that skill
change the tslot="SPEC" to tslot="BUFF"
or change EffectControler.java
            if (effect.getTargetSlot() == SkillTargetSlot.BUFF.ordinal())
to
            if (effect.getTargetSlot() == SkillTargetSlot.BUFF.ordinal()
                  || effect.getTargetSlot() == SkillTargetSlot.SPEC.ordinal())

sorry my english is so bad...

Original comment by mugen1...@gmail.com on 1 Jun 2011 at 7:52

GoogleCodeExporter commented 9 years ago
this is fixed already. i dunno when they fixed it but when i tried now, the 
healing pots/dispel can't remove the food anymore.

Original comment by Adik...@aionaddiction.com on 10 Jun 2011 at 8:42

GoogleCodeExporter commented 9 years ago

Original comment by ZeroSign...@gmail.com on 10 Jun 2011 at 2:08