The Dink Network

Paul's Profile

2002-08-31 22:02:48
wizardg.gif
Paul
Peasant Male United States
 
: main.c

: ------

: make_global_int ("&strength",1);

: make_global_int ("&defense",1);

: make_global_int ("&magic",1);

: item slayer

: ------

: void arm()

: {

:  external("stats","load_slayer");

: }

: stats.c

: ------

: void load_slayer()

: {

:  &strength = 4;

:  &defense = 4;

:  &magic = 4;

: }

: strength goes to 4, nothing else. the only thing i could guess is that start-1 could call the arm after getting the item before some other crucial command, but i can re-equip the item in-game and still no luck. i even tried making another item set &defense and &magic to 3 in arm and the load_slayer still doesnt get it to 4, it stays at 3. try this for yourself.

You're not going to like this...

I tried it and it works perfectly.

But why not just drop the external command and put the stat adjustments right in the item script, it might not be quite as neat, but it should work fine. (And if it doesn't, you'll know something's more basic is wrong.)

Paul has released 16 files

TitleCategoryAvgUpdated
MayhemD-Mod, RompExceptional 9.0October 17th, 2014
PlayThisMiscellaneous, FrontendGood 7.6August 14th, 2012
INIcleanDevelopment, UtilityExceptional 9.8August 12th, 2012
DinkC Auto-IndenterDevelopment, UtilityGood 8.2August 12th, 2012
Dink Gets BoredD-Mod, Romp, UnfinishedGood 8.3July 28th, 2012
Pilgrim's Quest CheatAdd-On, CheatExceptional 9.9December 14th, 2011
Lyna's StoryD-Mod, QuestExceptional 9.6February 26th, 2006
Triangle MoverD-Mod, MiscellaneousGood 7.6February 8th, 2004
Simple Dink SpellDevelopment, UtilityExceptional 9.8November 9th, 2003
Enemy Shoot DeluxeDevelopmentGood 8.5September 18th, 2002
Sprite ReplacerDevelopment, UtilityExceptional 9.8July 28th, 2002
DinkEdit Skin 1DevelopmentGood 8.5January 12th, 2002
Catacombs (The)D-Mod, QuestGood 8.5April 26th, 2000
Hardness HelpDevelopment, TutorialGood 8.6February 3rd, 2000
CrosslinkD-Mod, DemoExceptional 9.4December 24th, 1999
Mapnuke for WindowsDevelopment, UtilityGood 8.2January 1st, 1990

Paul has written 6 reviews

TitleFileTypeScoreDate
The Best D-Mod I've Played in a Long Time Cloud Castle 2: ScarabNormalExceptional 9.5December 27th, 2004
This is a Short D-Mod Kill Murdoock!!!NormalFair 6.0March 23rd, 2004
Okay Bloop the FishNormalFair 6.5December 28th, 2002
I Give This a 8 Item Icons PackNormalGood 8.0October 1st, 2002
Now That the Bugs Are Taken Care of in V1 Cloud CastleNormalGood 8.5April 21st, 2002
This is Great Ultimate CheatNormalExceptional 9.9January 17th, 2002