Jump to content
  • 0

remove buff from gospel when enter a map


Question

Posted

The thing is I want to remove buffs from 3 skills: gospel, a poem of bragi and service 4 you - when players enter a MVP map. I tried:

SC_GOSPEL 114

SC_POEMBRAGI 175

SC_SERVICE4U 181

but only buffs from poem and service were removed. So now I'm wondering how to remove buffs from gospel? It's not have to be all buff, just x2 atk or x2 max sp is fine.

Can someone help me? :(

p/s: sorry for my bad english >.<

3 answers to this question

Recommended Posts

  • 1
Posted (edited)

prontera,154,183,5    script    asdas    100,{
   while ( .@i <= 531 ) {
       if ( getstatus(.@i) )
           dispbottom .@i +" "+ getstatus(.@i) +"";
       .@i++;
   }
}

tested a paladin cast gospel and another player in party to receive the buff

I got this list

30 // blessing
32 // increase agi
37 // holy weapon
38 // holy armor
187 // increase all stat
194 // increase hit
196 // increase flee
198 // max hp increase
199 // max sp increase
200 // attach strength
202 // increase def

seems to match with data\skilldesctable2.txt

Possible effects on allies:
^777777• 1-9999 HP heal
• Remove all abnormal status (e.g. Curse, Blind and Poison)
• Blessing LV 10 or Increase Agility LV 10
• Enchant Weapon or Armor with Holy property
• Maximum HP or SP +100%
• +20 to all stats
• DEF +25%
• MaxATK +100%
• Flee Rate/HIT +50 ^000000
• Immunity against status ailments

that immunity against status ailments, in my test server it says

"All abnormal status effect has been removed"

post-8685-0-93006200-1352889011_thumb.jpg

EDIT:

wait, I got this • Immunity against status ailments ... checking which number it is now

EDIT2:

got it

214 // SC_SCRESIST

post-8685-0-34841700-1352889414_thumb.jpg

Edited by AnnieRuru
  • Upvote 2
Posted

@darristan I'm not use npc warper, just use normal portal

this is my full source


-	script	disablebuff	-1,{
OnPCLoadMapEvent:
getmapxy @map$,@x,@y,0;
if (@map$ == "moc_fild22" || @map$ == "odin_tem03")
{
	sc_end 181;
	sc_end 113;
	sc_end 114;
	sc_end 175;
}
}
moc_fild22	mapflag	 loadevent
odin_tem03	mapflag	 loadevent
only sc_end 114 not working

 

oh yes, it works. Thank you all, especially Annie :x

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...