From 7d5524ad0a4ce304f0722c4976c2bc3404cc0455 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 2 Jun 2018 22:31:42 -0300 Subject: Debugging information, I need it --- npc/012-1/gwendolyn.txt | 11 +++++++++-- 1 file 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) -- cgit v1.2.3-70-g09d2