- Viewing Profile: Posts: Gerz
Community Stats
- Group Members
- Active Posts 59
- Profile Views 4533
- Member Title Advanced Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
8
Neutral
User Tools
Latest Visitors
Posts I've Made
In Topic: Please Implement the Magic scroll, Mental Potion, etc. .
17 November 2015 - 02:56 PM
edit!, my bad sorry!
In Topic: Add *pcblockattack *pcblockskill *pcblockchat *pcimmune script commands
31 October 2015 - 02:41 AM
@AnnieRuru how about this?
/** * pcblock <account_id>, <value>, <type> * <value>: 1 = on, 0 = off * <type> can be: * 0 = block move * 1 = block attack * 2 = block skill * 3 = block chat * 4 = immune attack **/BUILDIN(pcblock) { int id, flag, type; TBL_PC *sd = NULL; id = script_getnum(st,2); flag = script_getnum(st,3); type = script_getnum(st,4); if( id ) sd = map->id2sd(id); else sd = script->rid2sd(st); switch( type ) { case 0: sd->state.blockedmove = flag > 0; break; case 1: sd->state.blockedattack = flag > 0; break; case 2: sd->state.blockedskill = flag > 0; break; case 3: sd->state.blockedchat = flag > 0; break; case 4: sd->state.monster_ignore = flag > 0; break; } return true;}
BUILDIN_DEF(pcblock,"iii"),
In Topic: Mvp Ladder Game problem
20 October 2015 - 01:34 PM
@AnnieRuru welcome back!
In Topic: NPC - Random item
07 October 2015 - 04:27 AM
:v edit!
In Topic: Is this possible?
07 October 2015 - 03:53 AM
OnPCDieEvent:OnPCLoadMapEvent:heal 100,100;end;mapflag prontera loadevent
something like this :v
- Viewing Profile: Posts: Gerz
- Privacy Policy
- Hercules Forum Rules ·