Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   Mods (http://forum.fulqrumpublishing.com/forumdisplay.php?f=124)
-   -   how can i get the number of crystals? (http://forum.fulqrumpublishing.com/showthread.php?t=6662)

yajine 03-16-2009 12:17 AM

how can i get the number of crystals?
 
i had a question yesterday,when i use this function as follow
Code:

    function get_crystal_count()
        return Logic.hero_lu_item("crystal","count")
    end

it returns 0,but the hero has 6,
i have check the return type is number,what's the problem?

Keneth 03-16-2009 06:46 AM

It's "crystals", not "crystal".

yajine 03-16-2009 07:34 AM

oh,i'm sorry,thank you!


All times are GMT. The time now is 01:54 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.