diff options
Diffstat (limited to 'src/emap/skill.c')
-rw-r--r-- | src/emap/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emap/skill.c b/src/emap/skill.c index a45792f..20e4a82 100644 --- a/src/emap/skill.c +++ b/src/emap/skill.c @@ -59,8 +59,8 @@ int eskill_check_condition_castend_post(int retVal, struct event_data* ev = node->data; if (ev) { - pc->setreg(sd, script->add_str("@skillId"), skill_id); - pc->setreg(sd, script->add_str("@skillLv"), skill_lv); + pc->setreg(sd, script->add_variable("@skillId"), skill_id); + pc->setreg(sd, script->add_variable("@skillLv"), skill_lv); script->run(ev->nd->u.scr.script, ev->pos, sd->bl.id, ev->nd->bl.id); } node = node->next; |