reds09
-
Content Count
34 -
Joined
-
Last visited
Reputation Activity
-
reds09 got a reaction from merakk in Item custom.
Usei 30000 e tambem tentei 40000 e outros que não tinham item o usando. Não apareceu erro.
Irei olhar
Consegui add o custom, mas quando eu vou equipar o custom da um erro, que não sei solucionar:
Resolvido.
-
reds09 reacted to csnv in [HELP] Custom skill that only work if an effect is active
You are placing it in the wrong place. For SC statuses checks it goes under status_check_skilluse (status.c), right here https://github.com/HerculesWS/Hercules/blob/master/src/map/status.c#L1796
Turn this:
if(tsc && tsc->count) { /* attacks in invincible are capped to 1 damage and handled in batte.c; allow spell break and eske for sealed shrine GDB when in INVINCIBLE state. */ if( tsc->data[SC_INVINCIBLE] && !tsc->data[SC_INVINCIBLEOFF] && skill_id && !(skill_id&(SA_SPELLBREAKER|SL_SKE)) ) return 0; if(!skill_id && tsc->data[SC_TRICKDEAD]) return 0; if((skill_id == WZ_STORMGUST || skill_id == WZ_FROSTNOVA || skill_id == NJ_HYOUSYOURAKU) && tsc->data[SC_FREEZE]) return 0; if(skill_id == PR_LEXAETERNA && (tsc->data[SC_FREEZE] || (tsc->data[SC_STONE] && tsc->opt1 == OPT1_STONE))) return 0; if( ( tsc->data[SC_STEALTHFIELD] || tsc->data[SC_CAMOUFLAGE] ) && !(st->mode&(MD_BOSS|MD_DETECTOR)) && flag == 4 ) return 0; } To this:
if(tsc && tsc->count) { /* attacks in invincible are capped to 1 damage and handled in batte.c; allow spell break and eske for sealed shrine GDB when in INVINCIBLE state. */ if( tsc->data[SC_INVINCIBLE] && !tsc->data[SC_INVINCIBLEOFF] && skill_id && !(skill_id&(SA_SPELLBREAKER|SL_SKE)) ) return 0; if(!skill_id && tsc->data[SC_TRICKDEAD]) return 0; if((skill_id == WZ_STORMGUST || skill_id == WZ_FROSTNOVA || skill_id == NJ_HYOUSYOURAKU) && tsc->data[SC_FREEZE]) return 0; if(skill_id == PR_LEXAETERNA && (tsc->data[SC_FREEZE] || (tsc->data[SC_STONE] && tsc->opt1 == OPT1_STONE))) return 0; if( ( tsc->data[SC_STEALTHFIELD] || tsc->data[SC_CAMOUFLAGE] ) && !(st->mode&(MD_BOSS|MD_DETECTOR)) && flag == 4 ) return 0; if (skill_id == NG_JUTSU_FUNERAL && !(tsc->data[SC_STONE])) return 0; } -
reds09 reacted to csnv in [HELP] Custom skill that only work if an effect is active
You are checking the source's status. it should be like this:
if(skill_id == NG_JUTSU_FUNERAL) { // Gravitation and Pressure do damage without removing the effect if(tsc && tsc->data[SC_STONE]){ damage <<= 1; // If used against a player in White Imprison, the skill deals double damage. }else{ d->dmg_lv = ATK_BLOCK; return 0; } } However, as the comment says, you're actually doubling damage if you keep it like this. So, for it doing exactly what you want it to do, it should be like this:
if(skill_id == NG_JUTSU_FUNERAL && !(tsc && tsc->data[SC_STONE])) { // Deal damage only when the target is under stone curse status d->dmg_lv = ATK_BLOCK; return 0;} -
reds09 reacted to Kuya Jeo in VIP MVP Summoner
VIP MVP Summoner
- Enable to summon any MVP you want
- MVPs are classified or categories as :
- Normal MVP / Rare MVP / LHZ MVP
- You need to configure the some SET script to make it work if you want to customize it
Rules :
1. Do not claim ( This script is made by Plug and Play )
2. Do not removed the credit in the top
3. Do not Sell it, this is a free script release
4. You can add additional features if you want
5. Do like us in our Facebook Page
Click Here to Download
Preview of the Script
-
reds09 reacted to evilpuncker in [Problema] Skill tree e Nome do Job.
mudar o nome só editando o hexed com algum editor hexadecimal ou seguindo oq está nesse tópico:
http://herc.ws/board/topic/7326-problem-class-name-doesnt-displays-properly/