eW | Variable isn't returning function ( switch case ).
I've currently got two files, skill.inl which calls the function and bug.inl which the function is currently loaded there.
The issue I'm having is that new SKILL:iSkillReturn isn't returning any values at all, I'm not sure why, I've spend quite some time and I resort to forum helpers. Do I need to do anything else with SKILL:Absorb(id, skill, prop)? SKILL.INL: Code:
#include "bug.inl"Code:
SKILL:Absorb(id, skill, prop) |
Re: eW | Variable isn't returning function ( switch case ).
Wtf is
PHP Code:
|
Re: eW | Variable isn't returning function ( switch case ).
What's the defenition of SKILL and SKILL_USED?
Now I'm not sure at all about this but since you're returning a "SKILL:" value, I believe the function should be prefixed with SKILL aswell. "SKILL:CallSkill(id, skill, prop)". I don't know if it would cause a problem though. That depends on what SKILL is defined as. This is what happens when you complicate things that could've been simple. |
| All times are GMT -4. The time now is 06:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.