diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-02 22:31:42 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-02 22:31:42 -0300 |
commit | 7d5524ad0a4ce304f0722c4976c2bc3404cc0455 (patch) | |
tree | 37b8dfc77c1df46b13d89d867adb35b28c192471 /npc/012-1 | |
parent | 45c6874e1b119d880e3d9275b17da0e584fdfba0 (diff) | |
download | serverdata-7d5524ad0a4ce304f0722c4976c2bc3404cc0455.tar.gz serverdata-7d5524ad0a4ce304f0722c4976c2bc3404cc0455.tar.bz2 serverdata-7d5524ad0a4ce304f0722c4976c2bc3404cc0455.tar.xz serverdata-7d5524ad0a4ce304f0722c4976c2bc3404cc0455.zip |
Debugging information, I need it
Diffstat (limited to 'npc/012-1')
-rw-r--r-- | npc/012-1/gwendolyn.txt | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/npc/012-1/gwendolyn.txt b/npc/012-1/gwendolyn.txt index 2314a2300..985eee760 100644 --- a/npc/012-1/gwendolyn.txt +++ b/npc/012-1/gwendolyn.txt @@ -212,7 +212,7 @@ L_Game: .@wdIndex = @returnIndex; if (is_admin()) - dispbottom str(.@wdY); + dispbottom l("@@, @@",.@wdX,.@wdY); .@wp_sq = (.@wdX * .@wdX) + (.@wdY * .@wdY); @@ -359,6 +359,13 @@ L_Power: .@pointX = .@wdX + .@spX; .@pointY = .@wdY + .@sp; + if (is_admin()) { + dispbottom l("Wind: @@, @@",.@wdX,.@wdY); + dispbottom l("You: @@, @@",.@spX,.@sp); + dispbottom l("Final: @@, @@",.@pointX,.@pointY); + + } + if( .@pointX==0 && .@pointY==0 ) goto L_Success; @@ -380,7 +387,7 @@ L_Power: // 0 is hit // < 5 is very close // <17 is close - // rest is a quite fucking shot + // rest is a quite bad shot .@target_dist_sq = (.@pointX * .@pointX) + (.@pointY*.@pointY); if (.@target_dist_sq < 5) |