Help With some changes in skills

Clare

New member
Messages
52
Points
0
Location
Brazil
Emulator
Hello, I need help to change some things in my emulator with respect to some skills, I thank anyone who can help.
 
1 - I would like to make the Creator class to use the skills
 
Full Protection
Chemical Protection Armor
Chemical Protection Weapon
Chemical Protection Shield
Chemical Protection Helm
 
without it is with equipped items, and when using these skills cancel the status of skill "strip" of the Stalker class
 
Currently these skills the Creator class can not be used if the item is not equipped, and not remove the effect/icon of skill "Strip"
 
2 - I would like to make the Stalker class when using the skill "Strip"
the equipment may not be equipped again until the duration of the skill effect Strip ends because currently the skill Strip removes only the item but the same can be equiped immediately.


10648285_584350125040050_1800283695802822053_o.jpg


 
11705446_584350141706715_952254857275903126_o.jpg

 
Last edited by a moderator:
Actually I believe 2nd is a bug, as items are not supposed to be equippable in the slot until strip effect ends...

 
Hi Garr, Thanks for answering
default_biggrin.png


I believe the two are bugs, but didn't venture to say that way.
 
I remember the skill Chemical Protection be used by my players (a few years ago in a pre-re server) as a way to "cancel" the effect of the strip, but without being able to utilize the Chemical Protection skills without the need this item equipped, it becomes impossible to use a skill under the influence of "strip" for nullify the effect.
 
You know how to solve these problems?
 
Hi, i believe this both 'issue' are not bug.
 
For the first:
The logical is simple, you can't protect what you don't have. So, you can't protect a weapon if you don't have a weapon equipped.
This sounds good for me.
 
For the second:
This is not a bug. You may testing it with a high group_id account. In the code, you have:
 
In: pc.c
Ln: ~922
Function: int pc_isequip(struct map_session_data *sd,int n)
Code:
	if(pc_has_permission(sd, PC_PERM_USE_ALL_EQUIPMENT))		return 1;
 
This test occours before any check from strip status. So, if your group_id has permission to equip any itens, it'll ignore the strip from stalker.
Can you test with a low group_id account for us?
 
Last edited by a moderator:
Hi, i believe this both 'issue' are not bug.
 
For the first:
The logical is simple, you can't protect what you don't have. So, you can't protect a weapon if you don't have a weapon equipped.
This sounds good for me.
 
For the second:
This is not a bug. You may testing it with a high group_id account. In the code, you have:
 
In: pc.c
Ln: ~922
Function: int pc_isequip(struct map_session_data *sd,int n)
if(pc_has_permission(sd, PC_PERM_USE_ALL_EQUIPMENT)) return 1;
 
This test occours before any check from strip status. So, if your group_id has permission to equip any itens, it'll ignore the strip from stalker.
Can you test with a low group_id account for us?
Omg, Sorry for the second really are the group id, but for the first you can help-me to made this change?

 
Back
Top