![]() |
AI- Castle Owner
hello, i try to check if pc (talker) is Caslte Owner in order my npc give an item only if pc owns a castle, i found this but i dont understand what it means exactly:
Code:
shift_sp 1 Any help is welcome, tx |
i think it does the following:
1. checks the pledge id that the castle belongs to... 2. checks players pledge id. 3. compares the results. 4. if they arent equal it will jump to branch XXX |
tx for your answer, then this part of AI just check if NPC and PC are linked by a castle.
Maybe there is a way to get the PC base ID ? if it is 1 then PC is gludio owner, 2 dion etc ... btw only clan leader can get s_seal_of_ruler (62977), i though maybe we can try to test if pc got it as it is possible to test if pc have an item or not ? for exemple what dos this part of AI ? Code:
... |
// spelled is a handler to do an action if the npc recieve a skill
in this case the skill id is 62977 in skill_pch and is the s_seal_of_ruler |
<offtopic>
No aguanto la curiosidad....eso de infierno rojo es tu equipo favorito de futbol en argentina no? :P </offtopic> |
i can translate i think...
without babelfish or any other help. so there might be many mistakes. however heres my shot: Just out of curiousity...is 'infierno rojo' your favourite football/soccer team in argentinia? /me ownz ya all :D XD |
That was offtopic :p
|
btw it isnt...
its the name of the web page :P (he told me :D) |
WebPage? o_O
|
Stick to the topic lads o.O
|
| All times are GMT. The time now is 16:20. |