I notice this code on warg mastery skill:
skill.c
case RA_WUGMASTERY:
if( pc_isfalcon(sd) || pc_isridingwug(sd) || sd->sc.data[sC__GROOMY]) {
clif_skill_fail(sd,skill,USESKILL_FAIL_LEVEL,0);
return 0;
}
break;
Does this mean that if there is a falcon you can't have a warg right?
I was just wondering since there is no checkwarg() in the script. The rental npc can still give the Falcon even though the Ranger has a Warg. Which means the Ranger can still have both if they go this way. Is this the official behavior?
Nevermind.
Just confirmed here:
http://irowiki.org/wiki/Warg_Mastery
So I went on ahead and implemented my own checkwarg() script:
I'm only hoping now that this is correct.
BUILDIN_FUNC(checkwarg)
{
TBL_PC* sd;
sd = script_rid2sd(st);
if( sd == NULL )
return 0;
if( pc_iswug(sd) || pc_isridingwug(sd) )
script_pushint(st, 1);
else
script_pushint(st, 0);
return 0;
}
Now I'm trying to see how to turn off the falcons that are having warg or vice versa on the server.