View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002390SphereServernew feature requestpublic23-08-14 01:2829-10-14 11:42
Reporterkn4tseb 
Assigned ToXuN 
PrioritynormalSeverityminorReproducibilitysometimes
StatusresolvedResolutionfixed 
Platformdeca hexa core OSLInux windowsOS Versioncentos 7 win 7
Product Version 
Target VersionFixed in Version0.56c Nightly 
Summary0002390: ON=@Shrink
DescriptionFires when a character is about to be shrunk

Fires on Characters

SRC The character trying to shrink

ARGO The character that is going to be shrunk

ACT= the item where the target originated from // if any

ARGN1 = the spell number used to shrink // if ANY
Steps To ReproduceSRC uses an item or maybe a spell to shrink

the target originates

argo is selected

the char "becomes" a figurine
Additional InformationWould be usefull in my opinion, lot of things happens when a char is shrunk... would be cool to have something that stores things when its done
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsDiagonalWalkCheck
Option FlagsNone
Internal Build Number2009
Attached Files

- Relationships

-  Notes
(0002522)
XuN (developer)
29-10-14 11:42

I think having something like this is more than enough:

[itemdef i_potion_shrink]
..
..

ON=@TargOn_Char
if !(<src.targ.brain>)
 src.sysmessage=Target must be a pet.
 return 1
elseif !(<src.targ.ismypet>)
 src.sysmessage=You can only shrink your pets.
 return 1
elseif !(<src.CanSeeLos <src.targ>> && <src.targ.distance>< 5)
 src.sysmessage=You can't reach <src.targ.name>
 return 1
endif
if (<src.targ.trigger @Shrink> == 1)
 return 1
endif
if (<src.trigger @CharShrink>==1)
 return 1
endif
src.targ.shrink
ref1=<hval <src.targ.actarg1>&~030000000> // this is the figurine
ref1.bounce

- Issue History
Date Modified Username Field Change
23-08-14 01:28 kn4tseb New Issue
29-10-14 11:42 XuN Note Added: 0002522
29-10-14 11:42 XuN Status new => resolved
29-10-14 11:42 XuN Fixed in Version => 0.56c Nightly
29-10-14 11:42 XuN Resolution open => fixed
29-10-14 11:42 XuN Assigned To => XuN


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker