Issue information

Issue ID
#7317
Status
Fixed
Severity
None
Started
kyeme
Jun 2, 2013 4:11
Last Post
mkbu95
Jun 9, 2013 5:44
Confirmation
Yes (1)
No (0)

kyeme - Jun 2, 2013 4:11

In map_zone_db.cof the disable_skills settings was also affecting the item with [i]itemskill[/i] commands,
example:
unable to use butterfly wings on GVG map because of config:

[quote]
/* GvG zone is applied to all maps with a gvg mapflag */
name: "GvG" /* changing this name requires MAP_ZONE_GVG_NAME to also be changed in src/map/map.h file */

disabled_skills: {
[b]AL_TELEPORT[/b]: "PLAYER"[/quote]

Please confirm..

Need to separate since we already have [i]disable_item: { }[/i]

This post has been edited by kyeme on Jun 2, 2013 6:54

dastgirpojee - Jun 2, 2013 12:26

602,Wing_Of_Butterfly,Butterfly Wing,11,300,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ itemskill "AL_TELEPORT",3; },{},{}

Butterfly wings use AL_TELEPORT skill thats why it cannot be used.

kyeme - Jun 7, 2013 3:51

[quote name="dastgirpojee" timestamp="1370175986"]
602,Wing_Of_Butterfly,Butterfly Wing,11,300,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ itemskill "AL_TELEPORT",3; },{},{}

Butterfly wings use AL_TELEPORT skill thats why it cannot be used.[/quote]
Yes, but this is not the official behavior

Please confirm.

mkbu95 - Jun 7, 2013 4:31

From AEGIS:[code=auto:0]item Wing_Of_Fly event OnConsume: Skill AL_TELEPORT 1 return[/code]It does cast a skill, and Hercules does the same. So blocking the skill will block itemskill commands.
IMO it shouldn't do that, but only @Ind has knowing of the wanted behavior since he coded it.

kyeme - Jun 7, 2013 4:34

On official, y[u]ou can use butterfly wings in WOE castles[/u] but AL_TELEPORT you can't

mkbu95 - Jun 7, 2013 4:35

Thanks for prompt confirmation using example then o.o
Behavior should be modified

kyeme - Jun 7, 2013 4:36

Thank you :wub:

mkbu95 - Jun 9, 2013 5:44

Fixed in [url="https://github.com/HerculesWS/Hercules/commit/399476eb93a829a8c926cc354f147d236b478d1d"]399476eb93a829a8c926cc354f147d236b478d1d[/url], thank you again.