Graal Forums
(
https://forums.graalonline.com/forums/index.php)
-
Code Gallery
(
https://forums.graalonline.com/forums/forumdisplay.php?f=179)
- -
Gralats
(
https://forums.graalonline.com/forums/showthread.php?t=73357)
| Chandler |
04-08-2007 09:19 AM |
Gralats
HTML Code:
function onCreated()
{
this.showCharacter();
this.updategani();
}
function updategani()
{
temp.gType = 1;
temp.rupeeAmounts = {{5, 2}, {30, 3}, {100, 4}};
for (temp.curAmount: temp.rupeeAmounts)
if (rupees >= temp.curAmount[0])
temp.gType = temp.curAmount[1];
this.setCharani("gralats", temp.gType);
}
function onPlayerTouchsMe()
{
player.rupees += rupees;
this.destroy();
}
//#CLIENTSIDE
function onCreated()
this.blockAgain();
Just a re-script, hehe
|
| All times are GMT +2. The time now is 09:54 PM. |
|
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.